From 3bd87a42befc69a8178271e766d389e3fbb91f08 Mon Sep 17 00:00:00 2001 From: kraju3 <35513942+kraju3@users.noreply.github.com> Date: Mon, 10 Jun 2024 09:55:37 -0500 Subject: [PATCH] Fix code exchange response for scope value (#231) # Description Marking `scope` as a default value https://nylas.atlassian.net/browse/TSDK-609 # License 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. --- src/main/kotlin/com/nylas/models/CodeExchangeResponse.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */