Skip to content

Commit

Permalink
refactor: execute Risk SDK after handling result for CVV
Browse files Browse the repository at this point in the history
  • Loading branch information
precious-ossai-cko committed Mar 15, 2024
1 parent b329614 commit 4a1004d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ internal class TokenRepositoryImpl(
launch(Dispatchers.Main) {
when (tokenResult) {
is TokenResult.Success -> {
riskSdkUseCase.execute(TokenResult.Success(tokenResult.result.token))
resultHandler(CVVTokenizationResultHandler.Success(tokenResult.result))
riskSdkUseCase.execute(TokenResult.Success(tokenResult.result.token))
}

is TokenResult.Failure -> {
Expand Down

0 comments on commit 4a1004d

Please sign in to comment.