libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit f7dde5a5f64e3bec655947a9b84d62c0277fd498
parent 22045f1f17d4683b1b068ccccca3dacf560a0627
Author: Florian Dold <florian.dold@gmail.com>
Date:   Tue, 16 Jun 2020 17:55:54 +0530

use enum

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/taler.kt | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt @@ -515,7 +515,7 @@ fun ingestTalerTransactions() { /** Those with exchange bank account involved */ RawBankTransactionsTable.bankAccount eq subscriberAccount.id.value and /** Those that are booked */ - (RawBankTransactionsTable.status eq "BOOK") and + (RawBankTransactionsTable.status eq TransactionStatus.BOOK) and /** Those that came later than the latest processed payment */ (RawBankTransactionsTable.id.greater(lastId)) }.orderBy(Pair(RawBankTransactionsTable.id, SortOrder.ASC)).forEach {