Octokit/grapql queries points to wrong Github Urls. When I look into details, I have seen that it is using https://api.github.com by default. Made a small change that if there is a Github API URL definition it will use it.
This GITHUB_API_URL comes with Github's own implementation, does not require a manual defined environment variable by the user.
Note: tried latest version of Octokit, it still has the same problem.
Octokit/grapql queries points to wrong Github Urls. When I look into details, I have seen that it is using
https://api.github.com
by default. Made a small change that if there is a Github API URL definition it will use it.This GITHUB_API_URL comes with Github's own implementation, does not require a manual defined environment variable by the user.
Note: tried latest version of Octokit, it still has the same problem.