diff --git a/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java b/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java index 57f16eb..8caf451 100644 --- a/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java +++ b/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java @@ -148,7 +148,7 @@ .computeIfAbsent(day, k -> new HashMap<>()) .put(scheduleId, schedule); }else { - Schedule newSchedule = new Schedule("", "", "",-1,-1); + Schedule newSchedule = new Schedule("", schedule.getStartTime(), schedule.getEndTime(),-1,-1); resultSchedules .computeIfAbsent(year, k -> new HashMap<>()) .computeIfAbsent(month, k -> new HashMap<>())