Release API endpoints

This commit is contained in:
Ethan Koenig 2016-12-31 11:51:22 -05:00 committed by Kim "BKC" Carlbäcker
parent b7e1bccc50
commit 0c301f7b5c
6 changed files with 357 additions and 4 deletions

View file

@ -115,7 +115,6 @@ func (c *Client) DeleteOrgHook(org string, id int64) error {
return err
}
// DeleteRepoHook delete one hook from a repository, with hook id
func (c *Client) DeleteRepoHook(user, repo string, id int64) error {
_, err := c.getResponse("DELETE", fmt.Sprintf("/repos/%s/%s/hooks/%d", user, repo, id), nil, nil)