mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-04-06 12:29:43 +08:00
[resumes][feat] update topUpvotedCommentCount min
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user