libeufin

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

commit 71201a801ddc58a06392941f808c3ca5148edeea
parent 62cf581da46cf511171dedfd6f9057de80c49797
Author: MS <ms@taler.net>
Date:   Tue, 21 Jul 2020 12:09:15 +0200

implement /config

Diffstat:
Mnexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git 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 {