Skip to content

Commit b5b4007

Browse files
committed
🐛 fix: round 변경 시 question 조회에 fetch join 적용
1 parent 2d23468 commit b5b4007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main/java/io/f1/backend/domain/game/dto/request/RoundChangeRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public boolean change(Room room, QuizService quizService) {
1313
return false; // 동일하면 무시
1414
}
1515

16-
Quiz quiz = quizService.findQuizById(room.getQuizId());
16+
Quiz quiz = quizService.getQuizWithQuestionsById(room.getQuizId());
1717
int questionSize = quiz.getQuestions().size();
1818

1919
room.changeRound(round, questionSize);

0 commit comments

Comments
 (0)