diff --git a/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java b/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java index 1e3a438..5990310 100644 --- a/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java +++ b/src/main/java/com/senity/waved/domain/quiz/service/QuizServiceImpl.java @@ -30,11 +30,11 @@ public QuizResponseDto getTodaysQuiz(Long challengeGroupId) { ZonedDateTime today = ZonedDateTime.now(ZoneId.of("Z")).truncatedTo(ChronoUnit.DAYS); - Quiz quiz = findQuizByDate(challengeGroupId, today); - - + //Quiz quiz = findQuizByDate(challengeGroupId, today); + Quiz quiz = quizRepository.findById(9L).orElseThrow(() -> new QuizNotFoundException("웅앵웅")); ZonedDateTime plusDate = quiz.getDate(); + log.info("++++++++++++++++++ todayQuiz&Zoned : " + today.truncatedTo(ChronoUnit.DAYS)); log.info("++++++++++++++++++ todayQuiz&local : " + today.toLocalDate());