gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix params names


From: gnunet
Subject: [libeufin] branch master updated: fix params names
Date: Sat, 16 Jan 2021 00:34:30 +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 eab04b6  fix params names
eab04b6 is described below

commit eab04b67dbe58a0a2ec784ba774276781c1a5223
Author: MS <ms@taler.net>
AuthorDate: Sat Jan 16 00:34:22 2021 +0100

    fix params names
---
 cli/bin/libeufin-cli | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index 4516df9..17454d5 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -452,9 +452,9 @@ def show(obj):
 def prepare_payment(
     obj,
     account_name,
-    credit_iban,
-    credit_bic,
-    credit_name,
+    creditor_iban,
+    creditor_bic,
+    creditor_name,
     payment_amount,
     payment_subject,
 ):
@@ -462,9 +462,9 @@ def prepare_payment(
         obj.nexus_base_url, 
"/bank-accounts/{}/payment-initiations".format(account_name)
     )
     body = dict(
-        iban=credit_iban,
-        bic=credit_bic,
-        name=credit_name,
+        iban=creditor_iban,
+        bic=creditor_bic,
+        name=creditor_name,
         subject=payment_subject,
         amount=payment_amount,
     )
@@ -475,7 +475,7 @@ def prepare_payment(
         print("Could not reach nexus at " + url)
         exit(1)
 
-    tell_user(resp)
+    tell_user(resp, withsuccess=True)
 
 
 @accounts.command(help="submit a prepared payment")

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