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