added getAllUnsubmittedTasks function

This commit is contained in:
Aran Zaiger 2015-08-03 01:35:30 +03:00
parent 1a81e196ea
commit 0f81fe9c0f

View file

@ -1125,7 +1125,7 @@ def getAllUnsubmittedTasks(token):
p = Project.get_by_id(tc.userId) p = Project.get_by_id(tc.userId)
taskDic['projectsToReview'].append(json.loads(p.to_JSON())) taskDic['projectsToReview'].append(json.loads(p.to_JSON()))
dic['tasks'].append(taskDic) dic['tasks'].append(taskDic)
arr.append(dic) arr.append(dic)