From fc1e928c680e2d5fb61dc37db812f12bffa843ca Mon Sep 17 00:00:00 2001 From: SunwuPark Date: Tue, 21 Nov 2023 17:25:47 +0900 Subject: [PATCH] =?UTF-8?q?UPDATE:=20createdAt=20=EC=98=A4=ED=83=80=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/server/mappin/dto/FindByCategoryResponseDto.java | 2 +- src/main/java/com/server/mappin/service/LostService.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/server/mappin/dto/FindByCategoryResponseDto.java b/src/main/java/com/server/mappin/dto/FindByCategoryResponseDto.java index d74fdd6..0b10439 100644 --- a/src/main/java/com/server/mappin/dto/FindByCategoryResponseDto.java +++ b/src/main/java/com/server/mappin/dto/FindByCategoryResponseDto.java @@ -11,7 +11,7 @@ public class FindByCategoryResponseDto { private Long id; private String title; - private LocalDateTime creatdAt; + private LocalDateTime createdAt; private String imageUrl; private String dong; } diff --git a/src/main/java/com/server/mappin/service/LostService.java b/src/main/java/com/server/mappin/service/LostService.java index 2e37273..bdf911e 100644 --- a/src/main/java/com/server/mappin/service/LostService.java +++ b/src/main/java/com/server/mappin/service/LostService.java @@ -37,7 +37,7 @@ public FindByCategoryListResponseDto findByCategory(String categoryName) { .losts(losts.stream().map(lost -> FindByCategoryResponseDto.builder() .id(lost.getId()) .title(lost.getTitle()) - .creatdAt(lost.getCreatedAt()) + .createdAt(lost.getCreatedAt()) .imageUrl(lost.getImageUrl()) .dong(lost.getLocation().getDong()) .build())