Skip to content

Commit

Permalink
[fix] 에러 처리 조건 추가 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdtkdgns authored Jul 18, 2023
1 parent c81dff8 commit b01acd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public List<ApplicationInterview> toApplicationInterviewList(List<String> unable
.contains(InterviewDateFormatter.interviewDateFormatter(interview)))
.map(interview -> ApplicationInterview.of(application, interview))
.toList();
if (applicationInterviews.isEmpty()) {
if (applicationInterviews.isEmpty() && !unableTimes.isEmpty()) {
throw InterviewNotFound.EXCEPTION;
}
return applicationInterviews;
Expand Down

0 comments on commit b01acd6

Please sign in to comment.