Skip to content

Commit

Permalink
fix: competition achievement issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerblue committed Nov 7, 2024
1 parent 7a4cb90 commit 0e61df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/competition/competition.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,7 @@ export default class CompetitionService {
const userACProblemIdSetMap = new Map<number, Set<number>>();
const userAttemptedProblemIdSetMap = new Map<number, Set<number>>();
const akUserIdsSet = new Set<number>();
acSolutions.forEach((s) => {
solutions.forEach((s) => {
const { userId, problemId, result } = s;
if (!userSolutionsMap.has(userId)) {
userSolutionsMap.set(userId, []);
Expand Down

0 comments on commit 0e61df3

Please sign in to comment.