summary refs log tree commit diff
path: root/src/models/Event.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-23 18:42:30 +0200
committerGitHub <noreply@github.com>2021-05-23 18:42:30 +0200
commit5cf40aa1dc57d83c8676a2c83f4254aa2694998b (patch)
tree6e3217d22bf54db0013e79453133923acf846718 /src/models/Event.ts
parent1.2.8 (diff)
parentModels: User can have a NULL email in case it is an unclaimed account (diff)
downloadserver-5cf40aa1dc57d83c8676a2c83f4254aa2694998b.tar.xz
Merge pull request #6 from DiegoMagdaleno/master
Fix compilation with StrictNullChecks and make the properties have more sense
Diffstat (limited to 'src/models/Event.ts')
-rw-r--r--src/models/Event.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/Event.ts b/src/models/Event.ts

index d4c00812..6f2a7444 100644 --- a/src/models/Event.ts +++ b/src/models/Event.ts
@@ -53,7 +53,7 @@ export interface ReadyEventData { flags: bigint; mfa_enabled: boolean; nsfw_allowed: boolean; - phone: string; + phone: string | null; premium: boolean; premium_type: number; verified: boolean;