From 2001ed461a9a87dc6054f4694b81542c5ab9e09a Mon Sep 17 00:00:00 2001 From: Gyuhyeok99 <126947828+Gyuhyeok99@users.noreply.github.com> Date: Mon, 24 Jun 2024 18:30:07 +0900 Subject: [PATCH] =?UTF-8?q?[feat/#72]=20=EB=A1=9C=EA=B7=B8=EC=9D=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 --- .../carbonneutral/academy/api/service/auth/AuthServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/carbonneutral/academy/api/service/auth/AuthServiceImpl.java b/src/main/java/carbonneutral/academy/api/service/auth/AuthServiceImpl.java index 0392926..f6b3d22 100644 --- a/src/main/java/carbonneutral/academy/api/service/auth/AuthServiceImpl.java +++ b/src/main/java/carbonneutral/academy/api/service/auth/AuthServiceImpl.java @@ -45,7 +45,7 @@ public class AuthServiceImpl implements AuthService { public PostSocialRes socialLogin(String code, SocialType socialType) { switch (socialType){ case KAKAO: { - GetKakaoRes getKakaoRes = kakaoLoginService.getUserInfo(kakaoLoginService.getAccessToken(code)); + GetKakaoRes getKakaoRes = kakaoLoginService.getUserInfo(code); boolean isRegistered = userJpaRepository.existsByUsernameAndSocialTypeAndState(getKakaoRes.getId(), SocialType.KAKAO, ACTIVE);