commit ab54b396c1153cd8bb9892d0c06671e49f8e5426
parent 6159e9fa673cc8b57362b26b6a6343f9cce8a066
Author: MS <ms@taler.net>
Date: Tue, 26 Jan 2021 19:18:32 +0100
inform user about /connect (#6712)
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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") {