Skip to content

Commit

Permalink
Adding scope as an optional parameter to the CodeExchangeResponse
Browse files Browse the repository at this point in the history
Update it to str

Remove duplicate scope value
  • Loading branch information
kraju3 committed May 17, 2024
1 parent 2656703 commit 8480ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nylas/models/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ class CodeExchangeResponse:

access_token: str
grant_id: str
scope: str
expires_in: int
email: Optional[str] = None
refresh_token: Optional[str] = None
scope: Optional[str] = None
id_token: Optional[str] = None
token_type: Optional[str] = None
provider: Optional[Provider] = None
Expand Down

0 comments on commit 8480ee7

Please sign in to comment.