From 786b849c8fd53fa433e443e2c96fa9df38f32b72 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 4 Oct 2024 06:33:03 +0200 Subject: [PATCH] Fixed checking if retrievedTransactionsFrom has been updated --- .../kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt b/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt index 6ccecf53..f279d5fc 100644 --- a/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt +++ b/FinTs4jBankingClient/src/commonMain/kotlin/net/codinux/banking/client/fints4k/FinTs4kMapper.kt @@ -105,7 +105,7 @@ open class FinTs4kMapper { account.lastAccountUpdateTime = finTsBankAccount.lastAccountUpdateTime } if (account.retrievedTransactionsFrom == null || (finTsBankAccount.retrievedTransactionsFrom != null - && account.retrievedTransactionsFrom!! < finTsBankAccount.retrievedTransactionsFrom!!)) { + && finTsBankAccount.retrievedTransactionsFrom!! < account.retrievedTransactionsFrom!!)) { account.retrievedTransactionsFrom = finTsBankAccount.retrievedTransactionsFrom }