Skip to content

Commit

Permalink
URL is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Apr 4, 2023
1 parent 00b6bc2 commit 9980282
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions v1/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ class Notification(BaseModel):
type: str = Field(
default_factory=str, description="The type of notification"
)
url: str = Field(
url: Optional[str] = Field(
description=(
"Details about this notification. This value should be shown "
"to your users as a 'read more' link"
)
),

)
title: str = Field(
description=(
Expand Down

0 comments on commit 9980282

Please sign in to comment.