diff --git a/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/member/FindPasswordController.java b/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/member/FindPasswordController.java index a6f9c638..ff999052 100644 --- a/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/member/FindPasswordController.java +++ b/BE/exceed/src/main/java/com/gaebaljip/exceed/adapter/in/member/FindPasswordController.java @@ -65,7 +65,8 @@ public void redirect(@RequestParam String email, HttpServletResponse response) { description = "비밀번호를 찾을 때 사용한다. 단, 비밀번호 찾기 버튼을 누르는 것이지 실제로는 새로운 비밀번호로 수정한다.") @PatchMapping("/members/find-password") @ApiErrorExceptionsExample(FindPassword_updatePasswordExceptionDocs.class) - public ApiResponse> findPassword(@RequestBody @Valid FindPasswordRequest request) { + public ApiResponse> findPassword( + @RequestBody @Valid FindPasswordRequest request) { checkCodeUsecase.execute(request.email(), request.code()); updatePasswordUsecase.execute(request.email(), request.newPassword()); return ApiResponseGenerator.success(HttpStatus.OK);