Skip to content

Commit

Permalink
#13 fix: 멤버 추방하기 deletemapping으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
wjdwlghks committed May 11, 2024
1 parent abbe483 commit 9832b42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9832b42

Please sign in to comment.