-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch? #89
Comments
It depends on if you are using callbacks or promises. With promises:
With callbacks:
|
Hmm. I've tried that. Repo: https://github.com/RichardLitt/gh-description node cli.js RichardLitt/awesome-nomad test It's still not working. :/ Thoughts? |
Ah, according to https://developer.github.com/v3/repos/#edit it seems GitHub requires the |
So, I tried that, and it still is returning this: { [Error: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}]
status: 404,
json:
{ message: 'Not Found',
documentation_url: 'https://developer.github.com/v3' } } I'm still not sure if this is my fault. |
The only difference between a working call and a failing one is turning |
It seems the OAuth scope for the key that is generated is "public access" which is not enough to edit repo details. It would need to have either |
Fixed by deleting the config file and then adding scopes. Didn't work previously due to not overwriting the ghauth config file. Thanks! |
I have the same Not Found bug again, and I have no idea how to diagnose it. How can I find out what URL is being used to hit the GitHub server? |
Did the same thing. Not sure why I keep running up against this. Not this module's bug at all. <3 thank you for helping. Sorry for being a bit obstinate. |
How do I use a PATCH method?
Example: octo.repos(result.owner.login, result.name).update({
description: 'test'
})
Thanks.
The text was updated successfully, but these errors were encountered: