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.

sub_store: Fix ApiStreamSubscription["email_address"] type.

Anders Kaseorg9b511f5caa28
diff --git a/web/src/sub_store.ts b/web/src/sub_store.ts
index caed2ed25f9..288c7e4ad36 100644
--- a/web/src/sub_store.ts
+++ b/web/src/sub_store.ts
@@ -48,7 +48,7 @@ export type StreamProperties = StreamSpecificNotificationSettings & {
// This is the raw data we get from the server for a subscription.
export type ApiStreamSubscription = (Stream & StreamProperties) & {
- email_address: string;
+ email_address?: string;
stream_weekly_traffic: number | null;
subscribers?: number[];
};