gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libeufin] branch master updated: add missing response


From: gnunet
Subject: [libeufin] branch master updated: add missing response
Date: Sat, 16 Jan 2021 22:31:05 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new 2e2c199  add missing response
2e2c199 is described below

commit 2e2c199d9141ceda36dd2b27ae48ec363046ccfb
Author: Florian Dold <florian@dold.me>
AuthorDate: Sat Jan 16 22:31:00 2021 +0100

    add missing response
---
 sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt 
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 9049cfb..aac354c 100644
--- 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.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]