Skip to content

Commit

Permalink
fix: remove users param from fintech.register call
Browse files Browse the repository at this point in the history
This parameter is outdated and should not be used.
  • Loading branch information
barredterra committed Oct 17, 2024
1 parent f5bc915 commit 1eac992
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion banking/ebics/doctype/ebics_user/ebics_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 0 additions & 2 deletions banking/ebics/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit 1eac992

Please sign in to comment.