mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
Hide submissions that are at -1 votes
This commit is contained in:
parent
c869e60b04
commit
987d91f293
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ async function updateDataIfVideoDurationChange(videoID: VideoID, service: string
|
||||||
FROM "sponsorTimes"
|
FROM "sponsorTimes"
|
||||||
WHERE "videoID" = ? AND "service" = ? AND
|
WHERE "videoID" = ? AND "service" = ? AND
|
||||||
"hidden" = 0 AND "shadowHidden" = 0 AND
|
"hidden" = 0 AND "shadowHidden" = 0 AND
|
||||||
"votes" >= 0 AND "videoDuration" != 0`,
|
"votes" > -2 AND "videoDuration" != 0`,
|
||||||
[videoID, service]
|
[videoID, service]
|
||||||
) as {videoDuration: VideoDuration, UUID: SegmentUUID}[];
|
) as {videoDuration: VideoDuration, UUID: SegmentUUID}[];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue