From 987d91f29362f9632c10a9873108f5e0c2e60c77 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 17 Aug 2021 16:46:45 -0400 Subject: [PATCH] Hide submissions that are at -1 votes --- src/routes/postSkipSegments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/postSkipSegments.ts b/src/routes/postSkipSegments.ts index 768411a..492e5dc 100644 --- a/src/routes/postSkipSegments.ts +++ b/src/routes/postSkipSegments.ts @@ -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}[];