Set account ID in exchange library instead of the view
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user