Updated on 2026-08-14
This commit is contained in:
parent
6cfb3fb99d
commit
21c869cb3c
1 changed files with 1 additions and 1 deletions
|
|
@ -108,9 +108,9 @@ class UserTokensRepository(
|
|||
.fold(
|
||||
onSuccess = { response ->
|
||||
response.getOrThrow()
|
||||
.also { storageService.saveUserTokens(userWalletId, it) }
|
||||
.tokens
|
||||
.mapNotNull(Currency.Companion::fromTokenResponse)
|
||||
.also { storageService.saveUserTokens(userWalletId, it.toUserTokensResponse()) }
|
||||
.distinct()
|
||||
},
|
||||
onFailure = { handleGetUserTokensFailure(userWalletId = userWalletId, error = it) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue