Skip to content
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

Perform DELETE requests to GitHub API without body #663

Merged
merged 1 commit into from
Sep 14, 2018

Conversation

stefanbuck
Copy link
Member

@stefanbuck stefanbuck commented Sep 14, 2018

Fixed a bug where Danger was throwing an error when removing any existing messages. Fixes #659

Looks like the GitHub API does not allow a DELETE request to have a body anymore.
If I set body to null instead of {} it works.

…any existing messages

Looks like the GitHub API does not allow a DELETE request to have a body anymore.
If I set body to null instead of {} it works.
@orta
Copy link
Member

orta commented Sep 14, 2018

oh yeah! Lovely - thanks!

@orta orta merged commit 12f3deb into danger:master Sep 14, 2018
@peril-staging
Copy link
Contributor

peril-staging bot commented Sep 14, 2018

Thanks for the PR @stefanbuck.

The Danger org conform to the Moya Community Continuity Guidelines, which means
that we want to offer any contributor the ability to control their destiny.

So, we've sent you an org invite - thanks stefanbuck 🎉

Generated by 🚫 dangerJS

@peril-staging
Copy link
Contributor

peril-staging bot commented Sep 14, 2018

Thanks for the PR @stefanbuck.

This PR has been shipped in v4.0.1 - CHANGELOG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants