gnunet-svn
[Top][All Lists]
Advanced

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

[libeufin] branch master updated: fix last change


From: gnunet
Subject: [libeufin] branch master updated: fix last change
Date: Thu, 13 Feb 2020 17:10:20 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository libeufin.

The following commit(s) were added to refs/heads/master by this push:
     new c3b1631  fix last change
c3b1631 is described below

commit c3b1631fecedb5c72cb4688dde731603dde13d10
Author: Marcello Stanisci <address@hidden>
AuthorDate: Thu Feb 13 17:10:10 2020 +0100

    fix last change
---
 nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt | 9 +++++++++
 sandbox/src/main/python/libeufin-cli              | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt 
b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
index b0367a0..4f89c10 100644
--- a/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
+++ b/nexus/src/main/kotlin/tech/libeufin/nexus/Main.kt
@@ -977,6 +977,15 @@ fun main() {
                                         }
                                         else -> throw 
UnknownBankAccountType(HttpStatusCode.NotFound)
                                     }
+                                    bankCode = when (it.bankCodeList?.get(0)) {
+                                        is EbicsTypes.GeneralBankCode -> {
+                                            (it.bankCodeList?.get(0) as 
EbicsTypes.GeneralBankCode).value
+                                        }
+                                        is EbicsTypes.NationalBankCode -> {
+                                            (it.bankCodeList?.get(0) as 
EbicsTypes.GeneralBankCode).value
+                                        }
+                                        else -> throw 
UnknownBankAccountType(HttpStatusCode.NotFound)
+                                    }
                                 }
                             }
                         }
diff --git a/sandbox/src/main/python/libeufin-cli 
b/sandbox/src/main/python/libeufin-cli
index e90c8a2..ef9c791 100755
--- a/sandbox/src/main/python/libeufin-cli
+++ b/sandbox/src/main/python/libeufin-cli
@@ -230,7 +230,7 @@ def backup(obj, account_id, output_file, nexus_base_url):
 @click.argument(
   "nexus-base-url"
 )
-def bankAccounts(obj, account_id, nexus_base_url):
+def bank_accounts(obj, account_id, nexus_base_url):
     
     url = urljoin(nexus_base_url, 
"/ebics/subscribers/{}/accounts".format(account_id))
     try:

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]