[resumes][feat] update topUpvotedCommentCount min

This commit is contained in:
Keane Chan
2022-11-08 16:43:26 +08:00
parent 9ee151342e
commit 24e68ea74a

View File

@@ -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 = [];