Skip to content

Commit

Permalink
Merge pull request #87 from OnAndOff-UMC/fix/#85
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-seong authored Feb 16, 2024
2 parents 691db9c + 13e159e commit 28f74b9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 28f74b9

Please sign in to comment.