gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix facade creation from CLI


From: gnunet
Subject: [libeufin] branch master updated: fix facade creation from CLI
Date: Sat, 16 Jan 2021 01:27: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 5588a97  fix facade creation from CLI
5588a97 is described below

commit 5588a976c8ff55e4e472eea597855d302c492d32
Author: MS <ms@taler.net>
AuthorDate: Sat Jan 16 01:27:26 2021 +0100

    fix facade creation from CLI
---
 cli/bin/libeufin-cli | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/cli/bin/libeufin-cli b/cli/bin/libeufin-cli
index 17454d5..058dd34 100755
--- a/cli/bin/libeufin-cli
+++ b/cli/bin/libeufin-cli
@@ -572,10 +572,11 @@ def list_facades(obj, connection_name):
 
 @facades.command(help="create a new (Taler) facade")
 @click.option("--facade-name", help="Name of the facade", required=True)
+@click.option("--currency", help="Facade's currency", required=True)
 @click.argument("connection-name")
 @click.argument("account-name")
 @click.pass_obj
-def new_facade(obj, facade_name, connection_name, account_name):
+def new_facade(obj, facade_name, connection_name, account_name, currency):
     url = urljoin(obj.nexus_base_url, "/facades")
     try:
         resp = post(
@@ -586,10 +587,11 @@ def new_facade(obj, facade_name, connection_name, 
account_name):
                 type="taler-wire-gateway",
                 creator=obj.username,
                 config=dict(
+                    currency=currency,
                     bankAccount=account_name,
                     bankConnection=connection_name,
                     reserveTransferLevel="UNUSED",
-                    intervalIncremental="UNUSED",
+                    intervalIncremental="UNUSED"
                 ),
             ),
         )

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