alyf-de / banking

An Open Banking Integration with ERPNext
GNU General Public License v3.0
38 stars 18 forks source link

fix: Make `session_id_short` a keyword argument #18

Closed marination closed 1 year ago

marination commented 1 year ago

Issue:

Traceback (most recent call last):
  File "apps/frappe/frappe/core/doctype/scheduled_job_type/scheduled_job_type.py", line 85, in execute
    frappe.get_attr(self.method)()
  File "apps/klarna_kosma_integration/klarna_kosma_integration/klarna_kosma_integration/doctype/klarna_kosma_settings/klarna_kosma_settings.py", line 127, in sync_all_accounts_and_transactions
    sync_transactions(account=bank_account)
TypeError: sync_transactions() missing 1 required positional argument: 'session_id_short'