Skip to content

Commit

Permalink
Include email value for CodeExchange response
Browse files Browse the repository at this point in the history
  • Loading branch information
kraju3 committed Jan 10, 2024
1 parent 4f5911c commit 580ef71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/models/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ export interface CodeExchangeResponse {
* Nylas grant ID that is now successfully created.
*/
grantId: string;
/**
* Email address of the grant that is created.
*/
email: string;
/**
* The remaining lifetime of the access token in seconds.
*/
Expand Down

0 comments on commit 580ef71

Please sign in to comment.