Skip to content

Commit

Permalink
fix: fix passing project id for odk creds proj deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 26, 2024
1 parent cf98263 commit 1c7dd68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/projects/project_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ async def delete_project(
f"deletion of project {project.id}"
)
# Odk crendentials
odk_credentials = await project_deps.get_odk_credentials(db, project)
odk_credentials = await project_deps.get_odk_credentials(db, project.id)
# Delete ODK Central project
await central_crud.delete_odk_project(project.odkid, odk_credentials)
# Delete FMTM project
Expand Down

0 comments on commit 1c7dd68

Please sign in to comment.