Skip to content

Commit

Permalink
prep release v7.5.1 (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen293 committed Aug 9, 2024
1 parent beee810 commit 37b4b3e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## Next Release
## v7.5.1 (2024-08-09)

- Adds missing properties to `Rate` model
- `delivery_date`
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@easypost/api",
"description": "EasyPost Node Client Library",
"version": "7.5.0",
"version": "7.5.1",
"author": "Easypost Engineering <[email protected]>",
"homepage": "https://easypost.com",
"bin": {
Expand Down
3 changes: 1 addition & 2 deletions src/services/user_service.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export default (easypostClient) =>
return this._getNextPage(url, 'children', children, pageSize);
}

static async _getNextPage(url, key, collection, pageSize = null, optionalParams = {}) {
static async _getNextPage(url, key, collection, pageSize = null) {
const collectionArray = collection[key];
if (collectionArray == undefined || collectionArray.length == 0 || !collection.has_more) {
throw new EndOfPaginationError();
Expand All @@ -159,7 +159,6 @@ export default (easypostClient) =>
...defaultParams,
page_size: defaultParams.page_size ?? pageSize,
after_id: collectionArray[collectionArray.length - 1].id,
...optionalParams,
};

const response = await this._all(url, params);
Expand Down

0 comments on commit 37b4b3e

Please sign in to comment.