diff --git a/src/main/java/zipdabang/server/service/serviceImpl/MemberServiceImpl.java b/src/main/java/zipdabang/server/service/serviceImpl/MemberServiceImpl.java index dd07342..ee00654 100644 --- a/src/main/java/zipdabang/server/service/serviceImpl/MemberServiceImpl.java +++ b/src/main/java/zipdabang/server/service/serviceImpl/MemberServiceImpl.java @@ -99,6 +99,8 @@ public void init(){ @Transactional public OAuthResult.OAuthResultDto SocialLogin(MemberRequestDto.OAuthRequestDto request,String type) { Member member = memberRepository.findByEmail(request.getEmail()).orElse(null); + + request.toString(); if(member != null) { String accessToken = null; Optional fcmToken = fcmTokenRepository.findByTokenAndSerialNumber(request.getFcmToken(), request.getSerialNumber()); diff --git a/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java b/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java index f5dfd17..21c8a51 100644 --- a/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java +++ b/src/main/java/zipdabang/server/web/dto/requestDto/MemberRequestDto.java @@ -57,6 +57,14 @@ public String toString() { @Getter @Setter public static class OAuthRequestDto { + @Override + public String toString() { + return "OAuthRequestDto{" + + "email='" + email + '\'' + + ", fcmToken='" + fcmToken + '\'' + + ", serialNumber='" + serialNumber + '\'' + + '}'; + } private String email; private String fcmToken; private String serialNumber;