[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: implement /config
From: |
gnunet |
Subject: |
[libeufin] branch master updated: implement /config |
Date: |
Tue, 21 Jul 2020 12:09:29 +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 71201a8 implement /config
71201a8 is described below
commit 71201a801ddc58a06392941f808c3ca5148edeea
Author: MS <ms@taler.net>
AuthorDate: Tue Jul 21 12:09:15 2020 +0200
implement /config
---
nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
index c9d97c9..26473ff 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
@@ -279,6 +279,12 @@ fun serverMain(dbName: String, host: String) {
}
startOperationScheduler(client)
routing {
+ get("/config") {
+ call.respond(
+ object {val version = "0.0.0"; val currency = "EUR"}
+ )
+ return@get
+ }
// Shows information about the requesting user.
get("/user") {
val ret = transaction {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: implement /config,
gnunet <=