Fixed double downvote issue.

This commit is contained in:
Ajay Ramachandran
2019-12-28 00:36:03 -05:00
parent 765755a041
commit 50bc218ccd

View File

@@ -322,7 +322,7 @@ app.get('/api/voteOnSponsorTime', function (req, res) {
} else if (votesRow.type == 0) { } else if (votesRow.type == 0) {
//downvote //downvote
oldIncrementAmount = -1; oldIncrementAmount = -1;
} else if (votesRow.type == 1) { } else if (votesRow.type == 2) {
//extra downvote //extra downvote
oldIncrementAmount = -4; oldIncrementAmount = -4;
} else if (votesRow.type <= -25) { } else if (votesRow.type <= -25) {