-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Delete assign #431
Comments
kaizensoze
pushed a commit
that referenced
this issue
Oct 8, 2016
Change assignees from request param to body json input. resolves #431
kaizensoze
pushed a commit
that referenced
this issue
Oct 8, 2016
Change assignees from request param to body json input. resolves #431
Should be fixed in v4.1.0. |
Event with v4.1.0, I can't find an incantation that makes this work. I tried calling {body:JSON.stringify({assignees:['bkeepers']})}
{body:JSON.stringify(['bkeepers'])}
{body:{assignees:['bkeepers']}}
{body:['bkeepers']} All of those result in:
|
Whoops, there's a bug in the codebase that assumes head|get|delete requests won't have a request body. Will have a fix out shortly. |
Ok should be fixed in 5.0.1. Added an example. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
I noticed an error about the "issues.removeAssigneesFromIssue".
I think that the api send the parameter as query and not in the body as json so Github return a 'Error parsing JSON'.
With node-github (not working) :
With require (working) :
Github link : https://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue
The text was updated successfully, but these errors were encountered: