From 0f929ea3e11212b3eba22d23c21e52ac7b9512a6 Mon Sep 17 00:00:00 2001 From: kimtaesoo7 Date: Thu, 29 Aug 2024 14:41:02 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20=ED=94=84=EB=A1=9C=EC=A0=9D=ED=8A=B8=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80=20-=20S11P21S002-37?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/project/controller/ProjectController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/com/worlabel/domain/project/controller/ProjectController.java b/backend/src/main/java/com/worlabel/domain/project/controller/ProjectController.java index 65f801e..593ed12 100644 --- a/backend/src/main/java/com/worlabel/domain/project/controller/ProjectController.java +++ b/backend/src/main/java/com/worlabel/domain/project/controller/ProjectController.java @@ -79,9 +79,9 @@ public class ProjectController { @SwaggerApiSuccess(description = "프로젝트를 성공적으로 삭제합니다.") @SwaggerApiError({ErrorCode.PROJECT_NOT_FOUND, ErrorCode.PARTICIPANT_UNAUTHORIZED, ErrorCode.SERVER_ERROR}) @DeleteMapping("/projects/{project_id}") - public ResponseEntity deleteProject(@CurrentUser final Integer memberId, - @PathVariable("project_id") final Integer projectId) { + public BaseResponse deleteProject(@CurrentUser final Integer memberId, + @PathVariable("project_id") final Integer projectId) { projectService.deleteProject(memberId, projectId); - return ResponseEntity.noContent().build(); + return SuccessResponse.empty(); } }