[BUG]: auto pagination is not working for listPackagesForOrganization #2400
Labels
Status: Needs Info
Full requirements are not yet known, so implementation should not be started
Type: Bug
Something isn't working as documented
What happened?
Trying to use
octokit.paginate
withoctokit.rest.packages.listPackagesForOrganization
to return all results.Example:
I have provided personal access token with follow scope:
read:packages
,repo
,user:email
Expect: Return all packages for given organization (more than 30 results)
Actual: Only returns the first page results limited to the default page size of 30
octokit.rest.repos.listForOrg
seems to work fineVersions
Octokit.js v2.0.14, Node v16.18.1
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: