mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-13 15:06:59 +03:00
Fixed double downvote issue.
This commit is contained in:
2
index.js
2
index.js
@@ -322,7 +322,7 @@ app.get('/api/voteOnSponsorTime', function (req, res) {
|
||||
} else if (votesRow.type == 0) {
|
||||
//downvote
|
||||
oldIncrementAmount = -1;
|
||||
} else if (votesRow.type == 1) {
|
||||
} else if (votesRow.type == 2) {
|
||||
//extra downvote
|
||||
oldIncrementAmount = -4;
|
||||
} else if (votesRow.type <= -25) {
|
||||
|
||||
Reference in New Issue
Block a user