Skip to content

Commit

Permalink
Merge pull request #449 from Kernel360/refactor/#448/all-correct-answer
Browse files Browse the repository at this point in the history
[REFACTOR] 컨텐츠에 대한 문제 조회시 모든 문제를 정답을 맞췄다면 Exception 대신 빈배열을 보내도록 수정
  • Loading branch information
mooncw authored Nov 26, 2024
2 parents e66eeeb + 183b6e6 commit 23cd8fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public List<QuestionInfo.Detail> findQuestionsByContentId(Long contentId, Long u
);

if (questionDocumentIdsNotCorrected.isEmpty()) {
throw new CommonException(QUESTION_ALL_CORRECTED);
return Collections.emptyList();
}

// 랜덤 셔플
Expand Down

0 comments on commit 23cd8fe

Please sign in to comment.