libeufin

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

commit 2e2c199d9141ceda36dd2b27ae48ec363046ccfb
parent 7b6183c269f8f8474df4b01956c22ae0e7e5fe30
Author: Florian Dold <florian@dold.me>
Date:   Sat, 16 Jan 2021 22:31:00 +0100

add missing response

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -355,6 +355,7 @@ fun serverMain(dbName: String, port: Int) { call.respondText("Payment created") return@post } + post("/admin/bank-accounts/{label}/simulate-incoming-transaction") { val body = call.receive<IncomingPaymentInfo>() // FIXME: generate nicer UUID! @@ -379,6 +380,7 @@ fun serverMain(dbName: String, port: Int) { it[direction] = "CRDT" } } + call.respond(object {}) } /** * Associates a new bank account with an existing Ebics subscriber.