summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 16:58:59 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-29 16:58:59 +0200
commit428c1dc2db64b07cd7c99df120c890c102c16266 (patch)
tree6cab0534142e631bff514aec57f1b1452acf631a /util
parentfix cdn (diff)
parentfixed wrong type declaration in Gateway readyEvent (diff)
downloadserver-428c1dc2db64b07cd7c99df120c890c102c16266.tar.xz
Merge branch 'typeorm' of https://github.com/fosscord/fosscord-api into typeorm
Diffstat (limited to 'util')
-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 e855095c..0de55f71 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;