Skip to content

Commit

Permalink
[FEAT] UserEntity toDomain 메서드 SocialAccount 클래스 변경에 따른 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sung-silver committed Jan 10, 2025
1 parent f2248bc commit 8f6694b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static UserEntity fromDomain(final User user) {
}

public User toDomain() {
SocialAccount socialAccount = SocialAccount.of(authPlatformId, authPlatformType.name());
SocialAccount socialAccount = SocialAccount.of(authPlatformId, authPlatformType);
Profile profile = Profile.of(name, email, phone, birthday);
return User.createNewUser(socialAccount, profile);
}
Expand Down

0 comments on commit 8f6694b

Please sign in to comment.