From 1f0bb13f7e8afbeea8c2d2f6baf3de90a62dcac8 Mon Sep 17 00:00:00 2001 From: kunsanglee Date: Wed, 24 Jul 2024 21:22:28 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=96=89=EC=82=AC=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20API=20EventSaveRequest=20name=EC=9D=84=20eventName?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../haengdong/presentation/request/EventSaveRequest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/server/haengdong/presentation/request/EventSaveRequest.java b/server/src/main/java/server/haengdong/presentation/request/EventSaveRequest.java index 81e777f17..f975a51a4 100644 --- a/server/src/main/java/server/haengdong/presentation/request/EventSaveRequest.java +++ b/server/src/main/java/server/haengdong/presentation/request/EventSaveRequest.java @@ -8,10 +8,10 @@ public record EventSaveRequest( @NotBlank @Size(min = 2, max = 20) - String name + String eventName ) { public EventAppRequest toAppRequest() { - return new EventAppRequest(name); + return new EventAppRequest(eventName); } }