From b413795e45b883d4a7a782e3feecc61d32c0028d Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 2 Sep 2022 15:23:08 -0400 Subject: [PATCH] Change chapter name suggestion requirements --- src/routes/getChapterNames.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/getChapterNames.ts b/src/routes/getChapterNames.ts index 1b04e5b..af43dc2 100644 --- a/src/routes/getChapterNames.ts +++ b/src/routes/getChapterNames.ts @@ -22,7 +22,7 @@ export async function getChapterNames(req: Request, res: Response): Promise 0 OR ("views" > 100 AND "votes" >= 0)) AND "videoID" IN ( + WHERE ("locked" = 1 OR "votes" > 0 OR ("views" > 25 AND "votes" >= 0)) AND "videoID" IN ( SELECT "videoID" FROM "videoInfo" WHERE "channelID" = ?