Skip to content

Commit

Permalink
Be safe to have mandatory public attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
harminius committed Dec 6, 2024
1 parent 1b66b14 commit 4578903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/mergin/sync/public_api_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def add_project(namespace): # noqa: E501
request.json["storage_params"] = {
"type": "local",
"location": generate_location(),
"public": request.json.get("public", False),
}

p = Project(
Expand Down

0 comments on commit 4578903

Please sign in to comment.