Skip to content

Commit

Permalink
fix: solution achievement logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamerblue committed Nov 10, 2024
1 parent 6522701 commit bbea1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/solution/solution.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2196,7 +2196,7 @@ export default class SolutionService {
);
hasAchievedKeyCache.add(EAchievementKey.SolveInContinuouslyDayLv2);
} else if (
!hasAchievedKeyCache.has(EAchievementKey.SolveInContinuouslyDayLv2) &&
!hasAchievedKeyCache.has(EAchievementKey.SolveInContinuouslyDayLv1) &&
continuousDays >= 3
) {
this.userAchievementService.addUserAchievementAndPush(
Expand Down

0 comments on commit bbea1eb

Please sign in to comment.