|
|
@ -213,7 +213,8 @@ export const resumesRouter = createRouter()
|
|
|
|
let topUpvotedCommentCount = 0;
|
|
|
|
let topUpvotedCommentCount = 0;
|
|
|
|
|
|
|
|
|
|
|
|
for (const resume of resumes) {
|
|
|
|
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
|
|
|
|
// Get Map of {userId, voteCount} for each comment
|
|
|
|
const commentUpvotePairs = [];
|
|
|
|
const commentUpvotePairs = [];
|
|
|
|