From d9763b5cac43c13bcf00782306b8ee592961b6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 10 Feb 2025 18:20:07 +0100 Subject: [PATCH] Fix karma threshold --- src/views/feed.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/feed.mjs b/src/views/feed.mjs index ba8cf6d..ca56989 100644 --- a/src/views/feed.mjs +++ b/src/views/feed.mjs @@ -310,7 +310,7 @@ const ContestBanner = (stories) => html` // NOTE: Only set this date in synchronicity with the src/launch.mjs date!! const cutoffDate = new Date("2025-01-15"); -const thresholdKarma = 3; +const thresholdKarma = 5; export function identityClassifier(upvoter) { let balance = 0; @@ -410,7 +410,7 @@ export async function getContestStories() { return null; } }); - + const submissionsResult = await Promise.allSettled(submissionPromises); const submissions = submissionsResult .filter((result) => result.status === "fulfilled" && result.value !== null)