[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 02/02: use enum
From: |
gnunet |
Subject: |
[libeufin] 02/02: use enum |
Date: |
Tue, 16 Jun 2020 14:27:58 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository libeufin.
commit f7dde5a5f64e3bec655947a9b84d62c0277fd498
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Jun 16 17:55:54 2020 +0530
use enum
---
nexus/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
index 85e9cc8..f09a332 100644
--- 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 {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.