We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I have no permission to create hook, github server will return error message
{ message: Not Found, documentation_url: https://developer.github.com/v3/repos/hooks/#create-a-hook }
Can you throws NotFound error here?
NotFound
github.dart/lib/src/common/repos_service.dart
Lines 709 to 717 in 086f904
The text was updated successfully, but these errors were encountered:
Thanks for submitting an issue! @robrbecker will take a look soon!
Sorry, something went wrong.
What should be added to the postJSON call is an expected status code of 201 Created, so the API would throw if the returned code was different.
postJSON
201 Created
Successfully merging a pull request may close this issue.
When I have no permission to create hook, github server will return error message
Can you throws
NotFound
error here?github.dart/lib/src/common/repos_service.dart
Lines 709 to 717 in 086f904
The text was updated successfully, but these errors were encountered: