1
0
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:
Flam3rboy 2021-05-23 19:30:32 +02:00 committed by GitHub
commit 72e50845ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;