From 662dcf430acfd4a00b9185f397f1e8f515c0d87d Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 10 Sep 2019 23:18:57 -0400 Subject: [PATCH] Changed endpoint to post for shadowBanUser. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1da6d06..387c115 100644 --- a/index.js +++ b/index.js @@ -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;