Skip to content

Override url when getting paginated results in octokit-js #2142

Discussion options

You must be logged in to vote

The solution we found was to override request.fetch on the Octokit constructor options, so that the URL could be rewritten as necessary.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@gr2m
Comment options

Answer selected by sparkofreason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants