From d89f2f500fb7759f1c90ad40af6fb2a4473d124f Mon Sep 17 00:00:00 2001 From: Miensoap Date: Wed, 22 May 2024 21:52:14 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A7=88=EC=9D=BC=EC=8A=A4=ED=86=A4=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../issuetracker/domain/milestone/MilestoneController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/be/issue_tracker/src/main/java/team1/issuetracker/domain/milestone/MilestoneController.java b/be/issue_tracker/src/main/java/team1/issuetracker/domain/milestone/MilestoneController.java index 497b7d343..ab23fe208 100644 --- a/be/issue_tracker/src/main/java/team1/issuetracker/domain/milestone/MilestoneController.java +++ b/be/issue_tracker/src/main/java/team1/issuetracker/domain/milestone/MilestoneController.java @@ -29,10 +29,10 @@ public List milestoneList() { @Authenticate @PostMapping - public Milestone createMilestone(@RequestBody MilestoneMakeRequest milestoneMakeRequest, @AuthenticatedUserId String userId) + public MilestoneListResponse createMilestone(@RequestBody MilestoneMakeRequest milestoneMakeRequest, @AuthenticatedUserId String userId) throws IllegalArgumentException { - return milestoneService.createMilestone(milestoneMakeRequest.name(), milestoneMakeRequest.description(), - milestoneMakeRequest.deadline(), userId); + return MilestoneListResponse.of(milestoneService.createMilestone(milestoneMakeRequest.name(), milestoneMakeRequest.description(), + milestoneMakeRequest.deadline(), userId)); } @Authenticate