Skip to content

Commit

Permalink
form list passed in the get all submission function
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Aug 14, 2023
1 parent c10d845 commit 1fcce4a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/backend/app/submission/submission_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,8 @@ def get_all_submissions(db: Session, project_id):

project = get_odk_project(odk_credentials)

#TODO: pass xform id list in getAllSubmissions. Next release of osm-fieldwork will support this.
# task_lists = tasks_crud.get_task_lists(db, project_id)
# submissions = project.getAllSubmissions(project_info.odkid, task_lists)

submissions = project.getAllSubmissions(project_info.odkid)
task_lists = tasks_crud.get_task_lists(db, project_id)
submissions = project.getAllSubmissions(project_info.odkid, task_lists)
return submissions


Expand Down

0 comments on commit 1fcce4a

Please sign in to comment.