From 24d108ea36b22eedc194f0e3c3905d0d6a3339f8 Mon Sep 17 00:00:00 2001 From: liyusang1 Date: Mon, 8 Jan 2024 12:04:10 +0900 Subject: [PATCH] =?UTF-8?q?[fix]=20code=20convention=20=EC=A0=81=EC=9A=A9?= =?UTF-8?q?=ED=95=98=EC=A7=80=20=EC=95=8A=EC=9D=80=20=EB=B6=80=EB=B6=84=20?= =?UTF-8?q?=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit code convention 적용하지 않은 부분 적용 --- .../domain/member/controller/MemberController.java | 4 ++-- .../domain/member/repository/MemberRepository.java | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/haejwo/tripcometrue/domain/member/controller/MemberController.java b/src/main/java/com/haejwo/tripcometrue/domain/member/controller/MemberController.java index 74739f20..b2c5f399 100644 --- a/src/main/java/com/haejwo/tripcometrue/domain/member/controller/MemberController.java +++ b/src/main/java/com/haejwo/tripcometrue/domain/member/controller/MemberController.java @@ -29,8 +29,8 @@ public class MemberController { @PostMapping("/signup") public ResponseEntity> signup( @Valid @RequestBody SignUpRequestDto signUpRequestDto) { - SignUpResponseDto signupResponseDto = memberService.signup(signUpRequestDto); - ResponseDTO response = ResponseDTO.okWithData(signupResponseDto); + SignUpResponseDto signUpResponseDto = memberService.signup(signUpRequestDto); + ResponseDTO response = ResponseDTO.okWithData(signUpResponseDto); return ResponseEntity .status(response.getCode()) .body(response); diff --git a/src/main/java/com/haejwo/tripcometrue/domain/member/repository/MemberRepository.java b/src/main/java/com/haejwo/tripcometrue/domain/member/repository/MemberRepository.java index 6ceae5b9..d6080660 100644 --- a/src/main/java/com/haejwo/tripcometrue/domain/member/repository/MemberRepository.java +++ b/src/main/java/com/haejwo/tripcometrue/domain/member/repository/MemberRepository.java @@ -7,6 +7,7 @@ public interface MemberRepository extends JpaRepository { Optional findByMemberBaseEmail(String email); - Optional findByMemberBaseEmailAndProvider(String email,String provider); + + Optional findByMemberBaseEmailAndProvider(String email, String provider); }