webhooks: Fix spelling of milliseconds.

This commit is contained in:
Tim Abbott
2021-03-05 12:22:50 -08:00
parent ff09d8af03
commit 28d437672f
2 changed files with 3 additions and 3 deletions

View File

@@ -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))