Changed endpoint to post for shadowBanUser.

This commit is contained in:
Ajay Ramachandran
2019-09-10 23:18:57 -04:00
parent c924be4dc9
commit 662dcf430a

View File

@@ -388,7 +388,7 @@ app.get('/api/getUsername', function (req, res) {
});
//Endpoint used to hide a certain user's data
app.get('/api/shadowBanUser', async function (req, res) {
app.post('/api/shadowBanUser', async function (req, res) {
let userID = req.query.userID;
let adminUserIDInput = req.query.adminUserID;