Skip to content

Commit

Permalink
chore: check modified date in findFastestAnsweredChallenge
Browse files Browse the repository at this point in the history
  • Loading branch information
minjoon-98 committed Jul 24, 2024
1 parent 0f182bd commit d0c1f8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public Challenge findFastestAnsweredChallenge(Lucky lucky) throws Exception {
// 해당 챌린지에 대해 모든 가족 구성원이 답변 내용을 입력했는지 확인
boolean allMembersAnswered = true;
for (Answer answer : answers) {
if (answer.getAnswerContent() == null || answer.getAnswerContent().isEmpty()) {
if (answer.getAnswerContent() == null || answer.getAnswerContent().isEmpty() || answer.getModifiedDate() == null || answer.getModifiedDate().isEmpty()) {
allMembersAnswered = false;
break;
}
Expand Down

0 comments on commit d0c1f8b

Please sign in to comment.