You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call to retrieve the set of pull requests is being sent to the wrong API endpoint.
The correct endpoint is https://api.github.com/repos/company/project/pulls/10312/reviews
but currently, the endpoint being called is https://api.github.com/repos/company/project/issues/10312/reviews
If you place a breakpoint at /org/kohsuke/github/GitHubClient.java:461 and look at the connectorRequest you'll see the reviews URI it's calling is issue instead of pulls. This results in a 404 as no such endpoint exists.
Expected behavior
I should be able to retrieve a list of reviews from the pull requests.
Desktop (please complete the following information):
OS: macos
Version 1.318
The text was updated successfully, but these errors were encountered:
Describe the bug
The call to retrieve the set of pull requests is being sent to the wrong API endpoint.
The correct endpoint is
https://api.github.com/repos/company/project/pulls/10312/reviews
but currently, the endpoint being called is
https://api.github.com/repos/company/project/issues/10312/reviews
To Reproduce
Steps to reproduce the behavior:
If you place a breakpoint at
/org/kohsuke/github/GitHubClient.java:461
and look at theconnectorRequest
you'll see the reviews URI it's calling isissue
instead ofpulls
. This results in a 404 as no such endpoint exists.Expected behavior
I should be able to retrieve a list of reviews from the pull requests.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: