diff --git a/src/main/java/com/onnoff/onnoff/domain/user/converter/UserConverter.java b/src/main/java/com/onnoff/onnoff/domain/user/converter/UserConverter.java index c64e6af..9539ff7 100644 --- a/src/main/java/com/onnoff/onnoff/domain/user/converter/UserConverter.java +++ b/src/main/java/com/onnoff/onnoff/domain/user/converter/UserConverter.java @@ -30,11 +30,11 @@ public static User toUser(KakaoOauth2DTO.UserInfoResponseDTO response, LoginRequ public static User toUser(LoginRequestDTO.AppleTokenValidateDTO request, LoginRequestDTO.AdditionalInfo additionalInfo){ FieldOfWork fieldOfWork = FieldOfWork.fromValue(additionalInfo.getFieldOfWork()); ExperienceYear experienceYear = ExperienceYear.fromValue(additionalInfo.getExperienceYear()); - String fullName = request.getFullName().getFamilyName() + request.getFullName().getGivenName(); + // String fullName = request.getFullName().getFamilyName() + request.getFullName().getGivenName(); return User.builder() .oauthId(request.getOauthId()) - .email(request.getEmail()) - .name(fullName) + //.email(request.getEmail()) + //.name(fullName) .nickname(additionalInfo.getNickname()) .socialType(SocialType.APPLE) .fieldOfWork(fieldOfWork)