summary refs log tree commit diff
diff options
context:
space:
mode:
authorxnacly <matteogropp@protonmail.com>2021-08-29 16:55:46 +0200
committerxnacly <matteogropp@protonmail.com>2021-08-29 16:55:46 +0200
commitca4f0e653c311954db8b6f51028ad8ce46816906 (patch)
tree12240c0ba0aa301fabd267de1ed597ee810b5576
parent:sparkles: typeorm gateway (diff)
downloadserver-ca4f0e653c311954db8b6f51028ad8ce46816906.tar.xz
fixed wrong type declaration in Gateway readyEvent
-rw-r--r--util/src/interfaces/Event.ts4
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;