From 428343e7d8a7917c07feaf448c2064ba3d5a7192 Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 21 Jun 2024 15:43:26 +0530 Subject: [PATCH] Require a vote for original to show --- src/routes/getBranding.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/getBranding.ts b/src/routes/getBranding.ts index 1631d6c..39d1850 100644 --- a/src/routes/getBranding.ts +++ b/src/routes/getBranding.ts @@ -200,7 +200,7 @@ async function filterAndSortBranding(videoID: VideoID, returnUserID: boolean, fe UUID: r.UUID, userID: returnUserID ? r.userID : undefined })) - .filter((a) => fetchAll || a.votes >= 0 || a.locked) as ThumbnailResult[]; + .filter((a) => fetchAll || a.votes >= 1 || (a.votes >= 0 && !a.original) || a.locked) as ThumbnailResult[]; const videoDuration = dbSegments.filter(s => s.videoDuration !== 0)[0]?.videoDuration ?? null;