Skip to content

Commit

Permalink
fix: add none for optional fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Sujanadh committed Jan 2, 2025
1 parent 0922f4c commit 06ae746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/app/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 06ae746

Please sign in to comment.