Skip to content

Commit

Permalink
Update AssessmentServiceV4Impl.java
Browse files Browse the repository at this point in the history
Retakes to -1 in-case of not consumed first attempt.
  • Loading branch information
SaipradeepR authored Aug 6, 2024
1 parent 730e798 commit fac9497
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public SBApiResponse retakeAssessment(String assessmentIdentifier, String token,

if (serverProperties.isAssessmentRetakeCountVerificationEnabled()) {
retakeAttemptsConsumed = calculateAssessmentRetakeCount(userId, assessmentIdentifier);
if(retakeAttemptsConsumed > 0)
// if(retakeAttemptsConsumed > 0)
retakeAttemptsConsumed = retakeAttemptsConsumed-1;
}
} catch (Exception e) {
Expand Down

0 comments on commit fac9497

Please sign in to comment.