From d63113f0bb1850736c1022a199d9fd74cdd18983 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Sun, 3 Dec 2023 19:39:34 +0100 Subject: [PATCH] customlocation geometry schema should have default none --- src/c3nav/mapdata/schemas/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/c3nav/mapdata/schemas/models.py b/src/c3nav/mapdata/schemas/models.py index 6ad98a42..a3277c2a 100644 --- a/src/c3nav/mapdata/schemas/models.py +++ b/src/c3nav/mapdata/schemas/models.py @@ -385,6 +385,7 @@ class CustomLocationSchema(SerializableSchema): description="ground altitude (in the map-wide coordinate system), if it can be determined" ) geometry: Optional[PointSchema] = APIField( + None, description="point geometry for this custom location", )