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:
parent
0baaffd764
commit
962aedb89e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue