Set account ID in exchange library instead of the view

This commit is contained in:
2022-11-02 18:28:31 +00:00
parent 5cb7d08614
commit 1f75da40af
3 changed files with 3 additions and 3 deletions

View File

@@ -21,8 +21,6 @@ def get_positions(user, account_id=None):
if not success:
items.append({"name": account.name, "status": "error"})
continue
for position in positions:
position["account"] = account.name
for item in positions:
items.append(item)