This commit is contained in:
Aran Zaiger 2015-06-29 13:42:06 +03:00
parent 4794771b15
commit d5465aa5d5

View file

@ -227,7 +227,7 @@ def getProjectsByUser(token):
arr = []
for p in user['projects_id_list']:
for p in user.projects_id_list:
project = Project.get_by_id(int(p))
arr.append(dict(json.loads(project.to_JSON())))