Skip to content

Commit

Permalink
Change default list pagination order to be DESC
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverzheng committed Dec 13, 2023
1 parent 49da14d commit a943df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WorkOS.net/Services/_common/_interfaces/ListOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ public class ListOptions : BaseOptions
/// The order in which to paginate records.
/// </summary>
[JsonProperty("order")]
public PaginationOrder? Order { get; set; }
public PaginationOrder Order { get; set; } = PaginationOrder.Desc;
}
}

0 comments on commit a943df0

Please sign in to comment.