Skip to content

Commit

Permalink
⚡️: fix dataType 안맞는 오류 수정 #38
Browse files Browse the repository at this point in the history
  • Loading branch information
sookyungg committed Apr 6, 2024
1 parent 5dc46db commit 1941c82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class QuestionService(
) {
@Transactional(readOnly = true)
fun getQuestionToday(memberId: Long): QuestionResultDto {
val today = LocalDateTime.now().toLocalDate()
val today = LocalDateTime.now()

return questionExplorer.findQuestionByDateTime(today).let { todayQuestion ->
val answered = answerExplorer.hasAnswered(memberId, todayQuestion.id)
Expand Down

0 comments on commit 1941c82

Please sign in to comment.