commit 97f26f5237135973a31d569969880845a9fb7448 parent eb1f24c1eb7ca1967e2c6cca3f0bf4376a885fb3 Author: ms <ms@taler.net> Date: Tue, 1 Feb 2022 09:02:09 +0100 fix response object creation Diffstat:
| M | sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -1420,8 +1420,8 @@ val sandboxApp: Application.() -> Unit = { } val balance = balanceForAccount(bankAccount) call.respond(object { - val balance = { - val amount = "${demobank.currency}:${balance}" + val balance = object { + val amount = "${demobank.currency}:$balance" val credit_debit_indicator = "CRDT" } val paytoUri = buildIbanPaytoUri(