Hide submissions that are at -1 votes

This commit is contained in:
Ajay Ramachandran 2021-08-17 16:46:45 -04:00
parent c869e60b04
commit 987d91f293

View file

@ -432,7 +432,7 @@ async function updateDataIfVideoDurationChange(videoID: VideoID, service: string
FROM "sponsorTimes"
WHERE "videoID" = ? AND "service" = ? AND
"hidden" = 0 AND "shadowHidden" = 0 AND
"votes" >= 0 AND "videoDuration" != 0`,
"votes" > -2 AND "videoDuration" != 0`,
[videoID, service]
) as {videoDuration: VideoDuration, UUID: SegmentUUID}[];