From 1eac992a9208deb6624839d040c1c8e46a6b56c9 Mon Sep 17 00:00:00 2001 From: barredterra <14891507+barredterra@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:07:46 +0200 Subject: [PATCH] fix: remove users param from fintech.register call This parameter is outdated and should not be used. --- banking/ebics/doctype/ebics_user/ebics_user.py | 1 - banking/ebics/manager.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/banking/ebics/doctype/ebics_user/ebics_user.py b/banking/ebics/doctype/ebics_user/ebics_user.py index a6eac68c..0b88bc18 100644 --- a/banking/ebics/doctype/ebics_user/ebics_user.py +++ b/banking/ebics/doctype/ebics_user/ebics_user.py @@ -76,7 +76,6 @@ def initialize(ebics_user: str): manager = EBICSManager( license_name=banking_settings.fintech_licensee_name, license_key=banking_settings.get_password("fintech_license_key"), - ebics_user_ids=user.user_id ) manager.set_keyring( diff --git a/banking/ebics/manager.py b/banking/ebics/manager.py index 37717a52..32f54c18 100644 --- a/banking/ebics/manager.py +++ b/banking/ebics/manager.py @@ -8,13 +8,11 @@ def __init__( self, license_name: str, license_key: str, - ebics_user_ids: str | list[str] | None = None, ): try: fintech.register( name=license_name, keycode=license_key, - users=ebics_user_ids, ) except RuntimeError as e: if e.args[0] != "'register' can be called only once":