diff options
author | xnacly <matteogropp@protonmail.com> | 2021-08-29 16:55:46 +0200 |
---|---|---|
committer | xnacly <matteogropp@protonmail.com> | 2021-08-29 16:55:46 +0200 |
commit | ca4f0e653c311954db8b6f51028ad8ce46816906 (patch) | |
tree | 12240c0ba0aa301fabd267de1ed597ee810b5576 /util | |
parent | :sparkles: typeorm gateway (diff) | |
download | server-ca4f0e653c311954db8b6f51028ad8ce46816906.tar.xz |
fixed wrong type declaration in Gateway readyEvent
Diffstat (limited to 'util')
-rw-r--r-- | util/src/interfaces/Event.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/interfaces/Event.ts b/util/src/interfaces/Event.ts index bab6f4dc..c3516c4c 100644 --- a/util/src/interfaces/Event.ts +++ b/util/src/interfaces/Event.ts @@ -35,11 +35,11 @@ export interface ReadyEventData { user: PublicUser & { mobile: boolean; desktop: boolean; - email: string | null; + email: string | undefined; flags: bigint; mfa_enabled: boolean; nsfw_allowed: boolean; - phone: string | null; + phone: string | undefined; premium: boolean; premium_type: number; verified: boolean; |