Skip to content

Fixing isPullRequestMerged and other boolean responses and adding check membership API #312

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

Merged
merged 2 commits into from
Jan 17, 2018

Conversation

mwu
Copy link
Contributor

@mwu mwu commented Jan 16, 2018

This seems to be an unreported bug. Github returns http 204 and not 202 for "check/get if so on and so forth" type predicates and test/ping requests. At least all four exposed in this library return http 204 on success:

I added a test for the second case since it's the most easily tested scenario.

@mwu mwu changed the title Fixing isPullRequestMerged and other boolean responses Fixing isPullRequestMerged and other boolean responses and adding check membership API Jan 17, 2018
@phadej phadej merged commit c040067 into haskell-github:master Jan 17, 2018
@phadej
Copy link
Contributor

phadej commented Jan 17, 2018

Thanks!

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.

2 participants