Updated on 2026-08-14
This commit is contained in:
parent
82dcb31881
commit
a079caac11
5 changed files with 36 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ internal class OnboardingVisaInProgressModel @Inject constructor(
|
|||
val authTokens = visaAuthTokenStorage.get(params.scanResponse.card.cardId)
|
||||
?: error("Auth tokens are not found. This should not happen.")
|
||||
|
||||
val newTokens = visaAuthRepository.refreshAccessTokens(authTokens.refreshToken)
|
||||
val newTokens = visaAuthRepository.exchangeAccessToken(authTokens)
|
||||
.getOrElse {
|
||||
uiMessageSender.showErrorDialog(it)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue