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.

types: Make value optional for ProfileData.

Zixuan James Li5d65ca33a890
diff --git a/zerver/lib/types.py b/zerver/lib/types.py
index 23e0d254fc8..890bdc3d955 100644
--- a/zerver/lib/types.py
+++ b/zerver/lib/types.py
@@ -29,7 +29,7 @@ class ProfileDataElementBase(TypedDict):
class ProfileDataElement(ProfileDataElementBase):
- value: ProfileDataElementValue
+ value: Optional[ProfileDataElementValue]
rendered_value: Optional[str]