Skip to content

Commit

Permalink
fix(scoring): do not filter asked challenges
Browse files Browse the repository at this point in the history
Asked challenges are required and shall not be filtered by any mean.
Filtering based on the current locale of the user can led to errors.
This was occurring when user switched its locale during same
certification course.
  • Loading branch information
HEYGUL authored Nov 19, 2024
1 parent 2f7b6df commit b36dd75
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export const handleV3CertificationScoring = async ({
);
const askedChallenges = await challengeRepository.getMany(
certificationChallengesForScoring.map((challengeForScoring) => challengeForScoring.id),
locale,
);

_restoreCalibrationValues(certificationChallengesForScoring, askedChallenges);
Expand Down

0 comments on commit b36dd75

Please sign in to comment.