Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] : 고정 스케줄을 한 번도 등록하지 않은 유저에 대해 발생하는 문제를 해결한다 #106

Merged
merged 1 commit into from
Nov 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading