Skip to content

Commit

Permalink
Merge pull request #7 from DiegoMagdaleno/master
Browse files Browse the repository at this point in the history
Models: Update avatar to reflect the new NULL changes
  • Loading branch information
SamuelScheit committed May 23, 2021
2 parents ee76003 + 17773e9 commit 72e5084
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 72e5084

Please sign in to comment.