From 4578903d507ee843f1aab68b8c1893c638619097 Mon Sep 17 00:00:00 2001 From: Herman Snevajs Date: Fri, 6 Dec 2024 09:54:12 +0100 Subject: [PATCH] Be safe to have mandatory public attribute --- server/mergin/sync/public_api_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/mergin/sync/public_api_controller.py b/server/mergin/sync/public_api_controller.py index 68563779..b460371e 100644 --- a/server/mergin/sync/public_api_controller.py +++ b/server/mergin/sync/public_api_controller.py @@ -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(