Skip to content

Commit

Permalink
Allow details and location_url to be nullable for requests.
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Feb 5, 2025
1 parent 62b605c commit fba4fb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/appointment/database/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ class ScheduleBase(BaseModel):
slug: Optional[str] = None
calendar_id: int
location_type: LocationType | None = LocationType.inperson
location_url: str | None = Field(max_length=2048)
details: str | None = Field(max_length=250)
location_url: Annotated[str | None, Field(max_length=2048)] = None
details: Annotated[str | None, Field(max_length=250)] = None
start_date: date | None = None
end_date: date | None = None
start_time: time | None = None
Expand Down

0 comments on commit fba4fb4

Please sign in to comment.