Closed samusiu closed 4 months ago
it would be better to open an issue on https://github.com/gr2m/octokit-plugin-create-pull-request if you found a bug.
In this case, the /repos
part is correct, because this is how the API work. This repo's public URL is https://github.com/gr2m/helpdesk. But the API endpoint is https://api.github.com/repos/gr2m/helpdesk
ahh yeah I realized that, looks like the request is just failing elsewhere. Sorry for the inconvenience! I'm still getting familiar with the API
no problem, good luck!
Please avoid duplicates
Description
Hi, I'm kind of new to front end and have been trying to use octokit-plugin-create-pull-request to create PRs, however, the request fails because the logic hard codes "repos" into the url when my github url doesn't include it. FYI I'm using an enterprise github so I've replaced the actual owner and repo names with dummies. For example, for this request,
I get this error
because my actual url would be
https://github.com/sam/testrepo
Is it possible to not add that "repos" into the url?Thank you!
Would you be interested in joining the show?