Skip to content

Commit

Permalink
[chore] refreshToken 오류 로그 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yeseonglee committed Nov 23, 2024
1 parent bd22121 commit 52673bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DropDrug/Sources/ViewControllers/Auth/LoginVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class LoginVC : UIViewController {
}
currentVC = presentingVC
}
print("SelectLoginTypeVC를 찾을 수 없습니다.")
print("SelectLoginTypeVC를 찾을 수 없습니다.")
}

@objc func loginButtonTapped() {
Expand Down
2 changes: 1 addition & 1 deletion DropDrug/Sources/ViewControllers/Auth/SignUpVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class SignUpVC : UIViewController {
}
currentVC = presentingVC
}
print("SelectLoginTypeVC를 찾을 수 없습니다.")
print("SelectLoginTypeVC를 찾을 수 없습니다.")
}

@objc func signUpButtonTapped() {
Expand Down
3 changes: 2 additions & 1 deletion DropDrug/Sources/ViewControllers/Auth/SplashVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ class SplashVC : UIViewController {
if isTokenExpired(token: accessToken) {
refreshAccessToken { success in
if success {
print("Profile updated successfully")
print("accessToken 재발급 성공")
self.navigateToMainScreen()
} else {
print("accessToken 재발급 실패")
self.navigateToOnBoaringScreen()
}
}
Expand Down

0 comments on commit 52673bf

Please sign in to comment.