Closed gentlementlegen closed 5 days ago
Ensure that the
rest
calls of Octokit are used. @rndquu RFC, no logic has changed besides that.
octokit.users.getByUsername()
octokit.rest.users.getByUsername()
The difference between the lines above is that in the 1st case graphql API may be used?
! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
The rest
is the modern way to use Octokit. The other way will be deprecated from what I've read. Our packages use the modern way (so does the SDK) so the octokit instance has to be used that way otherwise the methods don't exist. Octokit.graphql is also available indeed.
! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment
Ensure that the
rest
calls of Octokit are used. @rndquu RFC, no logic has changed besides that.