Skip to content

Commit 2a558c4

Browse files
committed
fix events list order by
1 parent fd84619 commit 2a558c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/nylas/models/ListEventQueryParams.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ data class ListEventQueryParams(
7878
val busy: Boolean? = null,
7979
/**
8080
* Order results by the specified field.
81-
* Currently only start is supported.
81+
* Currently only "start" is supported.
8282
*/
83-
@Json(name = "participants")
83+
@Json(name = "order_by")
8484
val orderBy: String? = null,
8585
/**
8686
* Filter for events with the specified ical_uid.

0 commit comments

Comments
 (0)