mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-08 04:27:09 +03:00
Changed endpoint to post for shadowBanUser.
This commit is contained in:
2
index.js
2
index.js
@@ -388,7 +388,7 @@ app.get('/api/getUsername', function (req, res) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
//Endpoint used to hide a certain user's data
|
//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 userID = req.query.userID;
|
||||||
let adminUserIDInput = req.query.adminUserID;
|
let adminUserIDInput = req.query.adminUserID;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user