Removed call to tryGetTransactionsOfLast90DaysWithoutTan() at begin of getTransactions(). Don't know anymore why i added it, but doesn't make sense to me as check is also performed after transactions have been retrieved.

This commit is contained in:
dankl 2020-01-01 18:12:14 +01:00 committed by dankito
parent 0baaffd764
commit 962aedb89e
1 changed files with 0 additions and 7 deletions

View File

@ -201,13 +201,6 @@ open class FinTsClient @JvmOverloads constructor(
open fun getTransactions(parameter: GetTransactionsParameter, bank: BankData, open fun getTransactions(parameter: GetTransactionsParameter, bank: BankData,
customer: CustomerData): GetTransactionsResponse { customer: CustomerData): GetTransactionsResponse {
if (customer.supportsRetrievingTransactionsOfLast90DaysWithoutTan == null &&
customer.triedToRetrieveTransactionsOfLast90DaysWithoutTan == false &&
parameter.fromDate == null) {
tryGetTransactionsOfLast90DaysWithoutTan(bank, customer, false)
}
val dialogData = DialogData() val dialogData = DialogData()
val initDialogResponse = initDialog(bank, customer, dialogData) val initDialogResponse = initDialog(bank, customer, dialogData)