diff --git a/src/main/kotlin/com/nylas/models/CodeExchangeResponse.kt b/src/main/kotlin/com/nylas/models/CodeExchangeResponse.kt index 3387c02c..cbb6051d 100644 --- a/src/main/kotlin/com/nylas/models/CodeExchangeResponse.kt +++ b/src/main/kotlin/com/nylas/models/CodeExchangeResponse.kt @@ -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. */