Skip to content

Commit

Permalink
Merge pull request #403 from auth0/ESD-17791/pagination-orgs
Browse files Browse the repository at this point in the history
feat: use fat arrow functions
  • Loading branch information
TwelveNights authored Jan 27, 2022
2 parents f2b0bb8 + 303121d commit ad07ae3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [7.3.5] - 2022-01-27
### Fixed
- Fix an error with the function context [#403]

## [7.3.4] - 2022-01-26
### Fixed
- Fix pagination [#401]
Expand Down Expand Up @@ -405,8 +409,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#379]: https://github.com/auth0/auth0-deploy-cli/issues/379
[#400]: https://github.com/auth0/auth0-deploy-cli/issues/400
[#401]: https://github.com/auth0/auth0-deploy-cli/issues/401
[#403]: https://github.com/auth0/auth0-deploy-cli/issues/403

[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.3.4...HEAD
[Unreleased]: https://github.com/auth0/auth0-deploy-cli/compare/v7.3.5...HEAD
[7.3.5]: https://github.com/auth0/auth0-deploy-cli/compare/v7.3.4...v7.3.5
[7.3.4]: https://github.com/auth0/auth0-deploy-cli/compare/v7.3.3...v7.3.4
[7.3.3]: https://github.com/auth0/auth0-deploy-cli/compare/v7.3.2...v7.3.3
[7.3.2]: https://github.com/auth0/auth0-deploy-cli/compare/v7.3.1...v7.3.2
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,6 +1,6 @@
{
"name": "auth0-deploy-cli",
"version": "7.3.4",
"version": "7.3.5",
"description": "A command line tool for deploying updates to your Auth0 tenant",
"main": "lib/index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/tools/auth0/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function checkpointPaginator(client, target, name) {
const { total } = await client.pool
.addSingleTask({
data: newArgs,
generator: target[name]
generator: (requestArgs) => target[name](requestArgs)
})
.promise();

Expand All @@ -43,7 +43,7 @@ function checkpointPaginator(client, target, name) {
const rsp = await client.pool
.addSingleTask({
data: newArgs,
generator: target[name]
generator: (requestArgs) => target[name](requestArgs)
})
.promise();

Expand Down

0 comments on commit ad07ae3

Please sign in to comment.