diff --git a/BE/exceed/build.gradle b/BE/exceed/build.gradle index 3f061731..6d5f8082 100644 --- a/BE/exceed/build.gradle +++ b/BE/exceed/build.gradle @@ -170,7 +170,9 @@ task copyDocument(type: Copy) { //(8) from의 파일을 into로 복사 build { //(9) build 시 copyDocument 실행 dependsOn copyDocument } - +tasks.named('compileJava') { + dependsOn 'spotlessApply' +} jar { enabled = false 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);