Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kainisoft
Copy link
Contributor

Just came across this error when trying to delete a hook of repos

*/
deleteHook(id, cb) {
return this._request('DELETE', `${this.__fullname}/hooks/${id}`, null, cb);
return this._request('DELETE', `/repo/${this.__fullname}/hooks/${id}`, null, cb);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean repos here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, you're right. Fixed.

@clayreimann clayreimann merged commit 2deb74c into github-tools:master Jan 30, 2017
@clayreimann
Copy link
Member

Thanks for the fix

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.

3 participants