From 2d95c3ea6af97cf3a613d72843bd37558bf5da60 Mon Sep 17 00:00:00 2001 From: chaewonkim Date: Fri, 19 Jul 2024 06:24:10 +0900 Subject: [PATCH] [fix] add promiseName in Promise detail API --- .../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(),