Skip to content

Commit

Permalink
Models: Update avatar to reflect the new NULL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoMagdaleno committed May 23, 2021
1 parent a6e68ab commit 17773e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/Event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 17773e9

Please sign in to comment.