diff --git a/src/main/java/com/noplanb/domain/user/controller/UserController.java b/src/main/java/com/noplanb/domain/user/controller/UserController.java index de9e9e6..e8e426e 100644 --- a/src/main/java/com/noplanb/domain/user/controller/UserController.java +++ b/src/main/java/com/noplanb/domain/user/controller/UserController.java @@ -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);