Skip to content

Commit

Permalink
fix: 난이도 평가 오류
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaisqls committed Nov 21, 2023
1 parent f99ea90 commit 03c7fee
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,10 @@ class QuestionService(
Difficulty(questions = questions)
)

difficultyRepository.save(
difficulty.also { difficulty.addCount(difficultyLevel)}
)

return DifficultyResponse(
veryEasy = difficulty.getPercentage(DifficultyLevel.VERY_EASY),
easy = difficulty.getPercentage(DifficultyLevel.EASY),
Expand Down

0 comments on commit 03c7fee

Please sign in to comment.