Skip to content

Commit

Permalink
Fix : 회원탈퇴 메소드 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
mmihye committed Sep 29, 2024
1 parent 3f6390d commit 733f6af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ApiResponse<Void> signOut(HttpServletRequest request, @AuthenticationPrin
}

@Operation(summary = "회원탈퇴 API", description = "회원탈퇴 등록")
@PostMapping("/withdrawal")
@DeleteMapping("/withdrawal")
public ApiResponse<Void> withdrawal(@AuthenticationPrincipal PrincipalDetails principalDetails) {
authService.withdrawal(principalDetails.getMember());
return ApiResponse.success(Success.DELETE_USER_SUCCESS);
Expand Down

0 comments on commit 733f6af

Please sign in to comment.