From 13e159ec7ad133bdc502105fad835d383742e839 Mon Sep 17 00:00:00 2001 From: wuseong Date: Fri, 16 Feb 2024 08:37:12 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=95=A0=ED=94=8C=20=EC=9A=94=EC=B2=AD?= =?UTF-8?q?=20DTO=20=EC=BB=A8=EB=B2=84=ED=84=B0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../onnoff/onnoff/domain/user/converter/UserConverter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)