From f1250a669ec469f09c8e0509cd4d2e2c10ccb74f Mon Sep 17 00:00:00 2001 From: KWY Date: Tue, 30 Jan 2024 22:47:02 +0900 Subject: [PATCH] =?UTF-8?q?#256=20[fix]=20=EC=A2=85=EB=A3=8C=EC=8B=9C?= =?UTF-8?q?=EA=B0=81=20ordinal=EC=97=90=EC=84=9C=201=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/asap/server/service/UserService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/asap/server/service/UserService.java b/src/main/java/com/asap/server/service/UserService.java index 0d97f1df..a58c4623 100644 --- a/src/main/java/com/asap/server/service/UserService.java +++ b/src/main/java/com/asap/server/service/UserService.java @@ -191,7 +191,7 @@ public List getBestMeetingInUsers(List timeSlots = TimeSlot.getTimeSlots(bestMeetingTime.startTime().ordinal(), bestMeetingTime.endTime().ordinal()); + List timeSlots = TimeSlot.getTimeSlots(bestMeetingTime.startTime().ordinal(), bestMeetingTime.endTime().ordinal() - 1); List users = userRepository.findByAvailableDateAndTimeSlots(bestMeetingTime.availableDateId(), timeSlots); return BestMeetingTimeWithUsersVo.of(bestMeetingTime, users); }