Skip to content

Commit

Permalink
[Merge] #171 - 카카오 회원탈퇴 후 재가입 가능한 오류사항 해결
Browse files Browse the repository at this point in the history
Fix [#170] 카카오 로그인 시, 회원탈퇴 후 재가입 가능한 오류사항 해결
  • Loading branch information
boogios authored Mar 22, 2024
2 parents 76f1e7a + 02fda3a commit a385542
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 @@ final class LoginViewModel: NSObject, ViewModelType {
Task {
do {
let result = try await self.postSocialLoginAPI(socialPlatform: "KAKAO", accessToken: accessToken, userName: nil)?.data
let isNewUser = result?.isNewUser ?? false
guard let isNewUser = result?.isNewUser else { return }
let nickname = result?.nickName ?? ""
if !isNewUser && !nickname.isEmpty {
self.userInfoPublisher.send(false)
Expand Down

0 comments on commit a385542

Please sign in to comment.