Skip to content

Commit

Permalink
Reintroduce the validation if the project exists
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Jan 22, 2025
1 parent b3b87f7 commit 5a5a927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-app/qfieldcloud/core/views/package_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def post(
if len(request.FILES.getlist("file")) > 1:
raise exceptions.MultipleContentsError()

# project = get_object_or_404(Project, id=project_id)
_project = get_object_or_404(Project, id=project_id)

uploaded_file_version = upload_project_file_version(
request,
Expand Down

0 comments on commit 5a5a927

Please sign in to comment.