Skip to content

Commit

Permalink
fix(APIInvite): expires_at is nullable (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
advaith1 committed Apr 30, 2021
1 parent 82ca0ce commit 44b956a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v8/invite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface APIInvite {
/**
* The expiration date of this invite, returned from the `GET /invites/<code>` endpoint when `with_expiration` is `true`
*/
expires_at?: string;
expires_at?: string | null;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion payloads/v8/invite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface APIInvite {
/**
* The expiration date of this invite, returned from the `GET /invites/<code>` endpoint when `with_expiration` is `true`
*/
expires_at?: string;
expires_at?: string | null;
}

/**
Expand Down

0 comments on commit 44b956a

Please sign in to comment.