We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ea0f5 commit a659048Copy full SHA for a659048
src/routes/getBranding.ts
@@ -26,7 +26,7 @@ export async function getVideoBranding(res: Response, videoID: VideoID, service:
26
"all",
27
`SELECT "titles"."title", "titles"."original", "titleVotes"."votes", "titleVotes"."locked", "titleVotes"."shadowHidden", "titles"."UUID", "titles"."videoID", "titles"."hashedVideoID", "titleVotes"."verification", "titles"."userID"
28
FROM "titles" JOIN "titleVotes" ON "titles"."UUID" = "titleVotes"."UUID"
29
- WHERE "titles"."videoID" = ? AND "titles"."service" = ? AND "titleVotes"."votes" > -2`,
+ WHERE "titles"."videoID" = ? AND "titles"."service" = ? AND "titleVotes"."votes" > -1`,
30
[videoID, service],
31
{ useReplica: true }
32
) as Promise<TitleDBResult[]>;
0 commit comments