Fixed that for RetrieveTransactions hasn't been checked
This commit is contained in:
parent
c0e9db7234
commit
3f3c480e1c
|
@ -36,7 +36,7 @@ open class FinTs4kBankingClient(
|
|||
}
|
||||
|
||||
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()) {
|
||||
var finTsModel: BankData? = null
|
||||
|
|
Loading…
Reference in New Issue