gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: inform user about /connect (#6712)


From: gnunet
Subject: [libeufin] branch master updated: inform user about /connect (#6712)
Date: Tue, 26 Jan 2021 19:18:38 +0100

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 ab54b39  inform user about /connect (#6712)
ab54b39 is described below

commit ab54b396c1153cd8bb9892d0c06671e49f8e5426
Author: MS <ms@taler.net>
AuthorDate: Tue Jan 26 19:18:32 2021 +0100

    inform user about /connect (#6712)
---
 cli/bin/libeufin-cli                                            | 2 +-
 nexus/src/main/kotlin/tech/libeufin/nexus/server/NexusServer.kt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index 86b51d4..c2bc5f5 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 ed714dc..ce887d8 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") {

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