summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-01-26 19:18:32 +0100
committerMS <ms@taler.net>2021-01-26 19:18:32 +0100
commitab54b396c1153cd8bb9892d0c06671e49f8e5426 (patch)
tree9a3b40126eaea69cf5fbdc2c02e48e64cbf8563d
parent6159e9fa673cc8b57362b26b6a6343f9cce8a066 (diff)
downloadlibeufin-ab54b396c1153cd8bb9892d0c06671e49f8e5426.tar.gz
libeufin-ab54b396c1153cd8bb9892d0c06671e49f8e5426.tar.bz2
libeufin-ab54b396c1153cd8bb9892d0c06671e49f8e5426.zip
inform user about /connect (#6712)
-rwxr-xr-xcli/bin/libeufin-cli2
-rw-r--r--nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index 86b51d40..c2bc5f5d 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -428,7 +428,7 @@ def connect(obj, connection_name):
except Exception:
print(f"Could not reach nexus at {url}")
exit(1)
- tell_user(resp)
+ tell_user(resp, withsuccess=True)
@connections.command(help="Import one bank account, chosen from the downloaded ones.")
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 ed714dc4..ce887d8c 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt
@@ -842,7 +842,7 @@ fun serverMain(dbName: String, host: String, port: Int) {
connectEbics(client, conn.connectionId)
}
}
- call.respond(object {})
+ call.respond(NexusMessage(message = "Connection successful"))
}
get("/bank-connections/{connectionName}/keyletter") {