mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 04:12:02 +00:00
webhooks: Fix spelling of milliseconds.
This commit is contained in:
@@ -182,4 +182,4 @@ def unix_milliseconds_to_timestamp(milliseconds: Any, webhook: str) -> datetime:
|
||||
seconds = milliseconds / 1000
|
||||
return timestamp_to_datetime(seconds)
|
||||
except (ValueError, TypeError):
|
||||
raise JsonableError(_("The {} webhook expects time in milleseconds.").format(webhook))
|
||||
raise JsonableError(_("The {} webhook expects time in milliseconds.").format(webhook))
|
||||
|
||||
Reference in New Issue
Block a user