Skip to content

Commit

Permalink
fix(backend): append /v1/ to odk_token url for qrcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 2, 2024
1 parent 711551b commit 01b1caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/projects/project_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ def generate_task_files(
get_task_sync = async_to_sync(tasks_crud.get_task)
task = get_task_sync(db, task_id)
task.odk_token = encrypt_value(
f"{odk_credentials.odk_central_url}/key/{appuser_token}/projects/{odk_id}"
f"{odk_credentials.odk_central_url}/v1/key/{appuser_token}/projects/{odk_id}"
)
db.commit()
db.refresh(task)
Expand Down

0 comments on commit 01b1caf

Please sign in to comment.