Skip to content

Commit

Permalink
Merge pull request #106 from onetime-with-members/fix/#105/remove-err…
Browse files Browse the repository at this point in the history
…or-handle

[fix] : 고정 스케줄을 한 번도 등록하지 않은 유저에 대해 발생하는 문제를 해결한다
  • Loading branch information
bbbang105 authored Nov 2, 2024
2 parents 3e9b1bf + e3c09f9 commit 339d700
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/side/onetime/service/FixedScheduleService.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@ public List<FixedEventResponse> getAllFixedSchedules(String authorizationHeader)

List<FixedEvent> fixedEvents = fixedEventRepository.findAllByUser(user);

if (fixedEvents.isEmpty()) {
throw new CustomException(FixedErrorStatus._NOT_FOUND_FIXED_EVENTS);
}

List<FixedEventResponse> fixedEventResponses = new ArrayList<>();
for (FixedEvent fixedEvent : fixedEvents) {
// 각 이벤트에 대한 고정 선택을 그룹화하여 요일별 스케줄을 생성
Expand Down

0 comments on commit 339d700

Please sign in to comment.