From eaf37f761860e5dc85cc28ebc908182c02fcffa2 Mon Sep 17 00:00:00 2001 From: chaewonni <113420297+chaewonni@users.noreply.github.com> Date: Fri, 19 Jul 2024 06:33:22 +0900 Subject: [PATCH] [fix] add promiseName in Promise detail API (#76) --- .../org/kkumulkkum/server/dto/promise/response/PromiseDto.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/kkumulkkum/server/dto/promise/response/PromiseDto.java b/src/main/java/org/kkumulkkum/server/dto/promise/response/PromiseDto.java index c79f7c4..67910f4 100644 --- a/src/main/java/org/kkumulkkum/server/dto/promise/response/PromiseDto.java +++ b/src/main/java/org/kkumulkkum/server/dto/promise/response/PromiseDto.java @@ -7,6 +7,7 @@ public record PromiseDto( Long promiseId, + String promiseName, String placeName, String address, String roadAddress, @@ -18,6 +19,7 @@ public record PromiseDto( public static PromiseDto from(Promise promise) { return new PromiseDto( promise.getId(), + promise.getName(), promise.getPlaceName(), promise.getAddress(), promise.getRoadAddress(),