Skip to content

Commit

Permalink
[feat] quiz 개수 늘림
Browse files Browse the repository at this point in the history
  • Loading branch information
yunji118 committed Jan 12, 2024
1 parent 24ec5bc commit 4310809
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public QuizResponseDto getQuiz(){

Set<QuizDto> quizDtoList = new HashSet<>();
while (quizDtoList.size() < 4){
Long randomNum = Long.valueOf(random.nextInt(16) + 1);
Long randomNum = Long.valueOf(random.nextInt(20) + 1);
Quiz q = quizRepository.findById(randomNum).get();
QuizDto quizDto = new QuizDto(q);
quizDtoList.add(quizDto);
Expand Down

0 comments on commit 4310809

Please sign in to comment.