mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
Merge pull request #7 from DiegoMagdaleno/master
Models: Update avatar to reflect the new NULL changes
This commit is contained in:
commit
72e50845ae
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user