diff options
author | MS <ms@taler.net> | 2023-02-27 16:24:09 +0100 |
---|---|---|
committer | MS <ms@taler.net> | 2023-02-27 16:24:09 +0100 |
commit | 09482f4c01d552728a2963e147cd89a29d47e639 (patch) | |
tree | a72e94e55fbdfa4d1d46aa1b6d39d432e7542ebd /nexus/src/main/kotlin/tech/libeufin/nexus/server | |
parent | 2f2277c0250740b84514a0594973da9603d22fcc (diff) | |
download | libeufin-09482f4c01d552728a2963e147cd89a29d47e639.tar.gz libeufin-09482f4c01d552728a2963e147cd89a29d47e639.tar.bz2 libeufin-09482f4c01d552728a2963e147cd89a29d47e639.zip |
Long polling.
Drafting a Taler Wire Gateway testcase and
a helper class to offer methods that abstract
Postgres' LISTEN and NOTIFY.
Diffstat (limited to 'nexus/src/main/kotlin/tech/libeufin/nexus/server')
-rw-r--r-- | nexus/src/main/kotlin/tech/libeufin/nexus/server/JSON.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/JSON.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/server/JSON.kt index 8f87c0e2..38ab4236 100644 --- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/JSON.kt +++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/JSON.kt @@ -440,7 +440,7 @@ class CurrencyAmountSerializer(jc: Class<CurrencyAmount> = CurrencyAmount::class @JsonSerialize(using = CurrencyAmountSerializer::class) data class CurrencyAmount( val currency: String, - val value: String // allows calculations + val value: String ) fun CurrencyAmount.toPlainString(): String { return "${this.currency}:${this.value}" |