Updated on 2026-08-14

This commit is contained in:
Tangem 2023-12-06 15:41:18 +02:00
parent 26a872e96b
commit f457baeddb

View file

@ -390,13 +390,16 @@ internal class DefaultCurrenciesRepository(
)
}
val response = tangemExpressApi.getAssets(
AssetsRequestBody(
tokensList = tokensList,
),
)
if (tokensList.isNotEmpty()) {
val response = tangemExpressApi.getAssets(
AssetsRequestBody(
tokensList = tokensList,
),
)
assetsStore.store(userWalletId, response.getOrThrow())
}
assetsStore.store(userWalletId, response.getOrThrow())
} catch (e: Throwable) {
Timber.e(e, "Unable to fetch assets for: ${userWalletId.stringValue}")
}