[resumes][feat] update topUpvotedCommentCount min

pull/542/head
Keane Chan 2 years ago
parent 9ee151342e
commit 24e68ea74a
No known key found for this signature in database
GPG Key ID: 32718398E1E9F87C

@ -299,8 +299,8 @@ export const resumesRouter = createRouter()
let topUpvotedCommentCount = 0; let topUpvotedCommentCount = 0;
for (const resume of resumes) { for (const resume of resumes) {
// Set minimum upvote count >= 5 to qualify // Set minimum upvote count >= 2 to qualify
let highestVoteCount = 5; let highestVoteCount = 2;
// Get Map of {userId, voteCount} for each comment // Get Map of {userId, voteCount} for each comment
const commentUpvotePairs = []; const commentUpvotePairs = [];

Loading…
Cancel
Save