Skip to content

Commit a659048

Browse files
committed
Hide downvotes titles
1 parent 86ea0f5 commit a659048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/getBranding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export async function getVideoBranding(res: Response, videoID: VideoID, service:
2626
"all",
2727
`SELECT "titles"."title", "titles"."original", "titleVotes"."votes", "titleVotes"."locked", "titleVotes"."shadowHidden", "titles"."UUID", "titles"."videoID", "titles"."hashedVideoID", "titleVotes"."verification", "titles"."userID"
2828
FROM "titles" JOIN "titleVotes" ON "titles"."UUID" = "titleVotes"."UUID"
29-
WHERE "titles"."videoID" = ? AND "titles"."service" = ? AND "titleVotes"."votes" > -2`,
29+
WHERE "titles"."videoID" = ? AND "titles"."service" = ? AND "titleVotes"."votes" > -1`,
3030
[videoID, service],
3131
{ useReplica: true }
3232
) as Promise<TitleDBResult[]>;

0 commit comments

Comments
 (0)