libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit 5588a976c8ff55e4e472eea597855d302c492d32
parent 3092f763341b7872ff094d3aef13a677d494ecbc
Author: MS <ms@taler.net>
Date:   Sat, 16 Jan 2021 01:27:26 +0100

fix facade creation from CLI

Diffstat:
Mcli/bin/libeufin-cli | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 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" ), ), )