Skip to content

Commit

Permalink
Fix: #116 apple unlink 요청의 경우 apple refreshtoken 전달
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Aug 17, 2024
1 parent 214add3 commit 3d39a6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3d39a6c

Please sign in to comment.