Skip to content

Commit

Permalink
Merge pull request #54 from DEPthes/feat/user-character-exist
Browse files Browse the repository at this point in the history
API url 수정
  • Loading branch information
EunbeenDev authored Aug 21, 2024
2 parents c6c2bfb + f41d4d0 commit 637491a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public ResponseEntity<?> getUserCharacterExist(@Parameter @CurrentUser UserPrinc
@ApiResponse(responseCode = "200", description = "탈퇴 성공", content = { @Content(mediaType = "application/json", schema = @Schema(implementation = Message.class) ) } ),
@ApiResponse(responseCode = "400", description = "탈퇴 실패", content = { @Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class) ) } ),
})
@DeleteMapping("/user")
@DeleteMapping("/")
public ResponseEntity<?> cancelAccount(@Parameter @CurrentUser UserPrincipal userPrincipal) {
{
return userService.cancelAccount(userPrincipal);
Expand Down

0 comments on commit 637491a

Please sign in to comment.