Skip to content

Commit

Permalink
- Fix pagination parameters for child user lists
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Aug 1, 2024
1 parent 80236f5 commit e06aadc
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

## 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 e06aadc

Please sign in to comment.