ManagementClient.organizations.getAll
returns total
as undefined
with parameter include_totals
set to true
#1078
Labels
bug
This points to a verified bug in the code
Checklist
Description
When I want to grab organizations using
getAll
with pagination (page
,take
,include_totals
), the resultingtotal
field comes back asundefined
.Scenario: 4 organizations, expected results:
total
is 4Current results:
total
isundefined
:page
: 1,take
: 2,include_totals
: true ->total
isundefined
page
: 1,take
: 4,include_totals
: true ->total
isundefined
page
: 1,take
: 10,include_totals
: true ->total
isundefined
Method in discussion: https://github.com/auth0/node-auth0/blob/master/src/management/__generated/managers/organizations-manager.ts#L648
Reproduction
Additional context
No response
node-auth0 version
4.16.0
Node.js version
20.12.0
The text was updated successfully, but these errors were encountered: