[BUG]: Specifying PageCount doesn't work if the query gets constructed with page number as the first query parameter #2693
Labels
hacktoberfest
Issues for participation in Hacktoberfest
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
What happened?
I tried requesting 5 pages of file changes in a PR, for example:
which actually requests all pages.
This is because of this code in
Pagination.cs
which incorrectly includes the initial
?
, which you can see the effect of in this debugger screenshotand
TryGetValue
naturally returns false.Versions
Octokit.net 5.0.2
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: