Skip to content

Commit

Permalink
[fix] code convention 적용하지 않은 부분 적용
Browse files Browse the repository at this point in the history
code convention 적용하지 않은 부분 적용
  • Loading branch information
liyusang1 committed Jan 8, 2024
1 parent b8157ee commit 24d108e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public class MemberController {
@PostMapping("/signup")
public ResponseEntity<ResponseDTO<SignUpResponseDto>> signup(
@Valid @RequestBody SignUpRequestDto signUpRequestDto) {
SignUpResponseDto signupResponseDto = memberService.signup(signUpRequestDto);
ResponseDTO<SignUpResponseDto> response = ResponseDTO.okWithData(signupResponseDto);
SignUpResponseDto signUpResponseDto = memberService.signup(signUpRequestDto);
ResponseDTO<SignUpResponseDto> response = ResponseDTO.okWithData(signUpResponseDto);
return ResponseEntity
.status(response.getCode())
.body(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
public interface MemberRepository extends JpaRepository<Member, Long> {

Optional<Member> findByMemberBaseEmail(String email);
Optional<Member> findByMemberBaseEmailAndProvider(String email,String provider);

Optional<Member> findByMemberBaseEmailAndProvider(String email, String provider);

}

0 comments on commit 24d108e

Please sign in to comment.