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 bda6464f..fe3b1d57 100644 --- a/apps/portal/src/server/router/resumes/resumes-resume-router.ts +++ b/apps/portal/src/server/router/resumes/resumes-resume-router.ts @@ -213,7 +213,8 @@ export const resumesRouter = createRouter() let topUpvotedCommentCount = 0; for (const resume of resumes) { - let highestVoteCount = 1; + // Set minimum upvote count >= 5 to qualify + let highestVoteCount = 5; // Get Map of {userId, voteCount} for each comment const commentUpvotePairs = [];