From 06ae746be2f4057bb722597d484619e424834b0b Mon Sep 17 00:00:00 2001 From: Sujan Adhikari Date: Thu, 2 Jan 2025 13:09:17 +0545 Subject: [PATCH] fix: add none for optional fields --- src/backend/app/db/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/app/db/models.py b/src/backend/app/db/models.py index 34f888401..e17bf4bce 100644 --- a/src/backend/app/db/models.py +++ b/src/backend/app/db/models.py @@ -1750,8 +1750,8 @@ class DbGeometryLog(BaseModel): geom: dict status: GeomStatus - project_id: Optional[int] - task_id: Optional[int] + project_id: Optional[int] = None + task_id: Optional[int] = None @classmethod async def create(