Fixed that for RetrieveTransactions hasn't been checked

This commit is contained in:
dankito 2024-10-04 09:08:48 +02:00
parent c0e9db7234
commit 3f3c480e1c
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ open class FinTs4kBankingClient(
} }
override suspend fun updateAccountTransactionsAsync(bank: BankAccess, accounts: List<BankAccount>?): Response<List<GetTransactionsResponse>> { override suspend fun updateAccountTransactionsAsync(bank: BankAccess, accounts: List<BankAccount>?): Response<List<GetTransactionsResponse>> {
val accountsToRequest = (accounts ?: bank.accounts).filter { it.supportsAnyFeature(BankAccountFeatures.RetrieveBalance, BankAccountFeatures.RetrieveBalance) } val accountsToRequest = (accounts ?: bank.accounts).filter { it.supportsAnyFeature(BankAccountFeatures.RetrieveBalance, BankAccountFeatures.RetrieveTransactions) }
if (accountsToRequest.isNotEmpty()) { if (accountsToRequest.isNotEmpty()) {
var finTsModel: BankData? = null var finTsModel: BankData? = null