mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +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
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user