Skip to content

Commit

Permalink
Fix code exchange response for scope value (#231)
Browse files Browse the repository at this point in the history
# Description

Marking `scope` as a default value
https://nylas.atlassian.net/browse/TSDK-609

# License
<!-- Your PR comment must contain the following line for us to merge the
PR. -->
I confirm that this contribution is made under the terms of the MIT
license and that I have the authority necessary to make this
contribution on behalf of its copyright owner.
  • Loading branch information
kraju3 authored Jun 10, 2024
1 parent 7729e38 commit 3bd87a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/nylas/models/CodeExchangeResponse.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data class CodeExchangeResponse(
* List of scopes associated with this token.
*/
@Json(name = "scope")
val scope: String,
val scope: String? = null,
/**
* Email address of the grant that is created.
*/
Expand Down

0 comments on commit 3bd87a4

Please sign in to comment.