Skip to content

Commit

Permalink
api: add id in notify msg
Browse files Browse the repository at this point in the history
  • Loading branch information
stintel committed Oct 31, 2023
1 parent b2f84e9 commit 166e3a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class NotifyData(BaseModel):
audio_url: Optional[str] = None
backlight: bool = False
backlight_max: bool = False
id: int = int(time.time() * 1000)
repeat: int = 1
strobe_period_ms: Optional[int] = 0
text: Optional[str] = None
Expand Down

0 comments on commit 166e3a5

Please sign in to comment.