From 59b9ffe9917a9a8103b9b14b3fc1658c2655e221 Mon Sep 17 00:00:00 2001 From: xhaktmchl Date: Thu, 10 Nov 2022 20:56:56 +0900 Subject: [PATCH] =?UTF-8?q?#9=20refactor:=20=EB=B3=B4=EB=93=9C=20=EC=82=AD?= =?UTF-8?q?=EC=A0=9CAPI=20URL=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yogit/server/board/controller/BoardController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/main/java/com/yogit/server/board/controller/BoardController.java b/server/src/main/java/com/yogit/server/board/controller/BoardController.java index a46875e..b0a85f6 100644 --- a/server/src/main/java/com/yogit/server/board/controller/BoardController.java +++ b/server/src/main/java/com/yogit/server/board/controller/BoardController.java @@ -106,7 +106,7 @@ public ApplicationResponse updateBoard(@ModelAttribute @Validated Patc @ApiResponse(code= 404, message = "요청한 유저가 호스트가 아닙니다."), @ApiResponse(code = 4000 , message = "서버 오류입니다.") }) - @PatchMapping("/del") + @PatchMapping("/status") public ApplicationResponse deleteBoard(@RequestBody @Validated DeleteBoardReq deleteBoardReq){ return boardService.deleteBoard(deleteBoardReq); }