Fix releasing mapped trades
This commit is contained in:
@@ -309,11 +309,15 @@ class Nordigen(util.Base):
|
||||
self.log.error("Could not get requisitions.")
|
||||
return {}
|
||||
for req in requisitions:
|
||||
print("REQ ITER", req)
|
||||
if not req["accounts"]:
|
||||
print("NOT REQ ACCOUNTS")
|
||||
continue
|
||||
accounts = self.get_accounts(req["id"])
|
||||
for account_id in accounts:
|
||||
print("ACCOUNT ID ITER", account_id)
|
||||
account_info = self.get_account(account_id)
|
||||
print("INFO", account_info)
|
||||
if not account_info:
|
||||
continue
|
||||
if req["institution_id"] in to_return:
|
||||
|
||||
Reference in New Issue
Block a user