1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-09-22 10:41:34 +02: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 & { user: PublicUser & {
mobile: boolean; mobile: boolean;
desktop: boolean; desktop: boolean;
email: string; email: string | null ;
flags: bigint; flags: bigint;
mfa_enabled: boolean; mfa_enabled: boolean;
nsfw_allowed: boolean; nsfw_allowed: boolean;
@ -104,7 +104,7 @@ export interface ReadyEventData {
merged_members?: Omit<Member, "settings" | "user">[][]; merged_members?: Omit<Member, "settings" | "user">[][];
// probably all users who the user is in contact with // probably all users who the user is in contact with
users?: { users?: {
avatar?: string; avatar: string | null;
discriminator: string; discriminator: string;
id: string; id: string;
username: string; username: string;