fix
This commit is contained in:
parent
4794771b15
commit
d5465aa5d5
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ def getProjectsByUser(token):
|
||||||
|
|
||||||
|
|
||||||
arr = []
|
arr = []
|
||||||
for p in user['projects_id_list']:
|
for p in user.projects_id_list:
|
||||||
project = Project.get_by_id(int(p))
|
project = Project.get_by_id(int(p))
|
||||||
arr.append(dict(json.loads(project.to_JSON())))
|
arr.append(dict(json.loads(project.to_JSON())))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue