gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: Tie TWG endpoints to handlers.


From: gnunet
Subject: [libeufin] branch master updated: Tie TWG endpoints to handlers.
Date: Thu, 28 May 2020 17:18:02 +0200

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

ms pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new b08fa41  Tie TWG endpoints to handlers.
b08fa41 is described below

commit b08fa41132983296ace7eb49eb424960c1bbe596
Author: MS <ms@taler.net>
AuthorDate: Thu May 28 17:17:58 2020 +0200

    Tie TWG endpoints to handlers.
---
 nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
index 7ab9982..09dbc80 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/taler.kt
@@ -446,8 +446,19 @@ suspend fun historyIncoming(call: ApplicationCall): Unit {
 }
 
 fun talerFacadeRoutes(route: Route) {
-    route.post("/transfer") {}
-    route.post("/admin/add-incoming") {}
-    route.get("/history/outgoing") {}
-    route.get("/history/incoming") {}
+    route.post("/transfer") {
+        talerTransfer(call)
+        return@post
+    }
+    route.post("/admin/add-incoming") {
+        talerAddIncoming(call)
+        return@post
+    }
+    route.get("/history/outgoing") {
+        return@get
+    }
+    route.get("/history/incoming") {
+        historyIncoming(call)
+        return@get
+    }
 }
\ No newline at end of file

-- 
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]