libeufin

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

commit d446014185a11b5554e01e2628383e14f613985e
parent 80415f7684e8429d268cfa4abd72d3a457d3a144
Author: MS <ms@taler.net>
Date:   Fri,  4 Dec 2020 13:00:18 +0100

prefer wrapping lists into JSON field

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -263,7 +263,11 @@ fun serverMain(dbName: String) { ) } } - call.respond(ret) + call.respond( + object { + val payments = ret + } + ) return@get }