Skip to content

Commit

Permalink
[bug] Fix pagination parameters for child user lists (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 authored Aug 2, 2024
1 parent c294e78 commit 3b23afb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 15 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## Next Release

- Fix pagination parameters for `GetNextPageOfChildren` function for User service

## v6.7.0 (2024-07-24)

- Add new `Claim` service for filing claims on EasyPost shipments and insurances
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion EasyPost/Models/API/ChildUserCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public override TParameters BuildNextPageParameters<TParameters>(IEnumerable<Use
{
AllChildren parameters = Filters != null ? (AllChildren)Filters : new AllChildren();

parameters.BeforeId = entries.Last().Id;
parameters.AfterId = entries.Last().Id;

if (pageSize != null)
{
Expand Down

0 comments on commit 3b23afb

Please sign in to comment.