mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-08 04:27:09 +03:00
Changed shadowHidden to 1 instead of true in the new function.
This commit is contained in:
2
index.js
2
index.js
@@ -190,7 +190,7 @@ app.get('/api/postVideoSponsorTimes', async function (req, res) {
|
||||
|
||||
if (downvotedSubmissionsResult.row.downvotedSubmissions / totalSubmissionsResult.row.totalSubmissions > 0.6) {
|
||||
//hide this submission as this user is untrustworthy
|
||||
shadowBanned = true;
|
||||
shadowBanned = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user