Skip to content

Commit

Permalink
Fix return type of getFreeBusy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrashed-dev committed Nov 17, 2023
1 parent fd3dedb commit 7ced396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/nylas/resources/Calendars.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Calendars(client: NylasClient) : Resource<Calendar>(client, Calendar::clas
* @return The free/busy response
*/
@Throws(NylasApiError::class, NylasSdkTimeoutError::class)
fun getFreeBusy(identifier: String, request: GetFreeBusyRequest): Response<GetFreeBusyResponse> {
fun getFreeBusy(identifier: String, request: GetFreeBusyRequest): Response<List<GetFreeBusyResponse>> {
val path = String.format("v3/grants/%s/calendars/free-busy", identifier)

val serializedRequestBody = JsonHelper.moshi()
Expand Down

0 comments on commit 7ced396

Please sign in to comment.