Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Commit

Permalink
Merge pull request #139 from mcastany/fix_pagination_issue
Browse files Browse the repository at this point in the history
Fixed issue with pagination
  • Loading branch information
Chris Geihsler authored Mar 30, 2021
2 parents 033f893 + af0166b commit 70e2c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth0/handlers/organizations.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default class OrganizationsHandler extends DefaultHandler {
}

try {
const organizations = await this.client.organizations.getAll({ pagination: true });
const organizations = await this.client.organizations.getAll({ paginate: true });
for (let index = 0; index < organizations.length; index++) {
const connections = await this.client.organizations.connections.get({ id: organizations[index].id });
organizations[index].connections = connections;
Expand Down

0 comments on commit 70e2c87

Please sign in to comment.