From 8f6694bde04de2b57a329bd3da9083ffb5d0375d Mon Sep 17 00:00:00 2001 From: sung-silver Date: Fri, 10 Jan 2025 21:23:04 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT]=20UserEntity=20toDomain=20=EB=A9=94?= =?UTF-8?q?=EC=84=9C=EB=93=9C=20SocialAccount=20=ED=81=B4=EB=9E=98?= =?UTF-8?q?=EC=8A=A4=20=EB=B3=80=EA=B2=BD=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../makers/authentication/database/rdb/entity/UserEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/sopt/makers/authentication/database/rdb/entity/UserEntity.java b/src/main/java/sopt/makers/authentication/database/rdb/entity/UserEntity.java index ab3e550..f4493b0 100644 --- a/src/main/java/sopt/makers/authentication/database/rdb/entity/UserEntity.java +++ b/src/main/java/sopt/makers/authentication/database/rdb/entity/UserEntity.java @@ -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); }