Skip to content

Commit

Permalink
fix(APIUser): premium_type is optional (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
NotSugden committed Sep 19, 2020
1 parent 10fdeba commit 8cf1ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v6/payloads/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface APIUser {
verified?: boolean;
email?: string | null;
flags?: UserFlags;
premium_type: UserPremiumType;
premium_type?: UserPremiumType;
public_flags?: UserFlags;
}

Expand Down

0 comments on commit 8cf1ba3

Please sign in to comment.