From 0e61df36df5b426f9cf89d9db09d7503d48f6961 Mon Sep 17 00:00:00 2001 From: bLue Date: Fri, 8 Nov 2024 01:34:39 +0800 Subject: [PATCH] fix: competition achievement issue --- src/app/competition/competition.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/competition/competition.service.ts b/src/app/competition/competition.service.ts index 7d2c4bd..2a51ab3 100644 --- a/src/app/competition/competition.service.ts +++ b/src/app/competition/competition.service.ts @@ -1994,7 +1994,7 @@ export default class CompetitionService { const userACProblemIdSetMap = new Map>(); const userAttemptedProblemIdSetMap = new Map>(); const akUserIdsSet = new Set(); - acSolutions.forEach((s) => { + solutions.forEach((s) => { const { userId, problemId, result } = s; if (!userSolutionsMap.has(userId)) { userSolutionsMap.set(userId, []);