1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-08 03:42:34 +01:00

Models: Update avatar to reflect the new NULL changes

This commit is contained in:
Diego Magdaleno 2021-05-23 12:25:16 -05:00
parent a6e68abbdc
commit 17773e9dbf

View File

@ -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;