Changed shadowHidden to 1 instead of true in the new function.

This commit is contained in:
Ajay Ramachandran
2019-09-11 15:00:35 -04:00
parent 1b53b3c993
commit ef5c6fddec

View File

@@ -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;
}
}