This commit is contained in:
Joachim Hill-Grannec 2017-02-23 13:21:47 -08:00
parent 82189c27fe
commit 3141ccdaae
2 changed files with 10 additions and 10 deletions

View file

@ -137,7 +137,7 @@ func (c *Client) CreateHook(owner string, name string, callBackLink string) erro
return err return err
} }
hooks := make([]string, 0) hooks := make([]string, 0)
if (hookDetails.Enabled) { if hookDetails.Enabled {
hookSettings, err := c.GetHooks(owner, name) hookSettings, err := c.GetHooks(owner, name)
if err != nil { if err != nil {
return err return err