Skip to content

Commit

Permalink
Merge pull request #66 from kookmin-sw/BE_Feature/#13-club
Browse files Browse the repository at this point in the history
#13 fix: 멤버 추방하기 deletemapping으로 변경
  • Loading branch information
wjdwlghks authored May 11, 2024
2 parents abbe483 + 9832b42 commit 9eb548f
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 9eb548f

Please sign in to comment.