diff --git a/src/auth0/handlers/organizations.js b/src/auth0/handlers/organizations.js index 03ba427..3c27e31 100644 --- a/src/auth0/handlers/organizations.js +++ b/src/auth0/handlers/organizations.js @@ -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;