Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

event_types: Add missing default EventPushDevice.error_code = None.

Anders Kaseorgba53ec571229
diff --git a/zerver/lib/event_types.py b/zerver/lib/event_types.py
index 5c61be18996..80291d12930 100644
--- a/zerver/lib/event_types.py
+++ b/zerver/lib/event_types.py
@@ -287,7 +287,7 @@ class EventPushDevice(BaseEvent):
type: Literal["push_device"]
push_account_id: str
status: Literal["active", "failed", "pending"]
- error_code: str | None
+ error_code: str | None = None
class NavigationViewFields(BaseModel):