From 24e68ea74a0228abf38c8b66cf3b77006f87638c Mon Sep 17 00:00:00 2001 From: Keane Chan Date: Tue, 8 Nov 2022 16:43:26 +0800 Subject: [PATCH] [resumes][feat] update topUpvotedCommentCount min --- .../portal/src/server/router/resumes/resumes-resume-router.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/portal/src/server/router/resumes/resumes-resume-router.ts b/apps/portal/src/server/router/resumes/resumes-resume-router.ts index 330f9198..ad5c5768 100644 --- a/apps/portal/src/server/router/resumes/resumes-resume-router.ts +++ b/apps/portal/src/server/router/resumes/resumes-resume-router.ts @@ -299,8 +299,8 @@ export const resumesRouter = createRouter() let topUpvotedCommentCount = 0; for (const resume of resumes) { - // Set minimum upvote count >= 5 to qualify - let highestVoteCount = 5; + // Set minimum upvote count >= 2 to qualify + let highestVoteCount = 2; // Get Map of {userId, voteCount} for each comment const commentUpvotePairs = [];