Skip to content

Commit b413795

Browse files
committed
Change chapter name suggestion requirements
1 parent 6a61747 commit b413795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/getChapterNames.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function getChapterNames(req: Request, res: Response): Promise<Resp
2222
const descriptions = await db.prepare("all", `
2323
SELECT "description"
2424
FROM "sponsorTimes"
25-
WHERE ("votes" > 0 OR ("views" > 100 AND "votes" >= 0)) AND "videoID" IN (
25+
WHERE ("locked" = 1 OR "votes" > 0 OR ("views" > 25 AND "votes" >= 0)) AND "videoID" IN (
2626
SELECT "videoID"
2727
FROM "videoInfo"
2828
WHERE "channelID" = ?

0 commit comments

Comments
 (0)