diff --git a/genti-api/src/main/java/com/gt/genti/user/service/UserService.java b/genti-api/src/main/java/com/gt/genti/user/service/UserService.java index ef14da28..3e85fa70 100644 --- a/genti-api/src/main/java/com/gt/genti/user/service/UserService.java +++ b/genti-api/src/main/java/com/gt/genti/user/service/UserService.java @@ -152,7 +152,7 @@ public Boolean delete(Long userId) { switch (oauthPlatform) { case KAKAO -> kakaoOauthStrategy.unlink(foundUser.getSocialId()); - case APPLE -> appleOauthStrategy.unlink(foundUser.getSocialId()); + case APPLE -> appleOauthStrategy.unlink(foundUser.getAppleRefreshToken()); } userRepository.delete(foundUser); return true;