summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-05-23 19:30:32 +0200
committerGitHub <noreply@github.com>2021-05-23 19:30:32 +0200
commit72e50845ae552a1df02080bb8706fa0dba4a5058 (patch)
treee41d344d363e4b2594ba9f56ba5c9174900419c7 /src
parent1.2.9 (diff)
parentModels: Update avatar to reflect the new NULL changes (diff)
downloadserver-72e50845ae552a1df02080bb8706fa0dba4a5058.tar.xz
Merge pull request #7 from DiegoMagdaleno/master
Models: Update avatar to reflect the new NULL changes
Diffstat (limited to 'src')
-rw-r--r--src/models/Event.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/Event.ts b/src/models/Event.ts

index 6f2a7444..635adc46 100644 --- a/src/models/Event.ts +++ b/src/models/Event.ts
@@ -49,7 +49,7 @@ export interface ReadyEventData { user: PublicUser & { mobile: boolean; desktop: boolean; - email: string; + email: string | null ; flags: bigint; mfa_enabled: boolean; nsfw_allowed: boolean; @@ -104,7 +104,7 @@ export interface ReadyEventData { merged_members?: Omit<Member, "settings" | "user">[][]; // probably all users who the user is in contact with users?: { - avatar?: string; + avatar: string | null; discriminator: string; id: string; username: string;