From 9b548a1d60bcf01d44a4e627d00c125918d31cc2 Mon Sep 17 00:00:00 2001 From: peageon Date: Thu, 18 Jul 2024 04:18:27 +0900 Subject: [PATCH] fix: fixed naming of variable ListClubScheduleEntityResponseDto and removed jsonunwrap for coordinate in CreateOrUpdateScheduleRequestDto --- .../backend/club/dto/ListClubScheduleEntityResponseDto.java | 2 +- .../backend/schedule/dto/CreateOrUpdateScheduleRequestDto.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/runningmate/backend/club/dto/ListClubScheduleEntityResponseDto.java b/src/main/java/com/runningmate/backend/club/dto/ListClubScheduleEntityResponseDto.java index 0fec795..f4c231e 100644 --- a/src/main/java/com/runningmate/backend/club/dto/ListClubScheduleEntityResponseDto.java +++ b/src/main/java/com/runningmate/backend/club/dto/ListClubScheduleEntityResponseDto.java @@ -10,5 +10,5 @@ @NoArgsConstructor(access = AccessLevel.PROTECTED) @AllArgsConstructor public class ListClubScheduleEntityResponseDto { - private List clubScheduleEntityResponseDtos; + private List schedules; } diff --git a/src/main/java/com/runningmate/backend/schedule/dto/CreateOrUpdateScheduleRequestDto.java b/src/main/java/com/runningmate/backend/schedule/dto/CreateOrUpdateScheduleRequestDto.java index f5b48a7..42f5fd6 100644 --- a/src/main/java/com/runningmate/backend/schedule/dto/CreateOrUpdateScheduleRequestDto.java +++ b/src/main/java/com/runningmate/backend/schedule/dto/CreateOrUpdateScheduleRequestDto.java @@ -44,7 +44,6 @@ public class CreateOrUpdateScheduleRequestDto { private LocalDateTime dateTime; @NotNull(message = "Location must not be null") - @JsonUnwrapped private CoordinateDto location; public Point getLocation() {