From 9832b4245e13ad624ec8ff3e249c461dd62f4d21 Mon Sep 17 00:00:00 2001 From: ji hwan Date: Sat, 11 May 2024 11:42:31 +0900 Subject: [PATCH] =?UTF-8?q?#13=20fix:=20=EB=A9=A4=EB=B2=84=20=EC=B6=94?= =?UTF-8?q?=EB=B0=A9=ED=95=98=EA=B8=B0=20deletemapping=EC=9C=BC=EB=A1=9C?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/project/capstone/club/controller/ClubController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/com/project/capstone/club/controller/ClubController.java b/backend/src/main/java/com/project/capstone/club/controller/ClubController.java index 2411cdbad6..5acd9273e0 100644 --- a/backend/src/main/java/com/project/capstone/club/controller/ClubController.java +++ b/backend/src/main/java/com/project/capstone/club/controller/ClubController.java @@ -66,7 +66,7 @@ public ResponseEntity delegateManager(@AuthenticationPrincipal PrincipalDetai return ResponseEntity.ok().body("위임 완료"); } // 멤버 추방하기 - @GetMapping("/expel") + @DeleteMapping("/expel") public ResponseEntity expelMember(@AuthenticationPrincipal PrincipalDetails details, @RequestParam UUID memberId, @RequestParam Long clubId) { clubService.expelMember(details.getUserId(), memberId, clubId);