Update deps

This commit is contained in:
Jeff Mitchell
2017-02-02 16:19:55 -05:00
parent 1fa4c6232f
commit 5e20429298
95 changed files with 2212 additions and 1268 deletions

View File

@@ -22,13 +22,13 @@ func (s *OrganizationsService) ListHooks(org string, opt *ListOptions) ([]*Hook,
return nil, nil, err
}
hooks := new([]*Hook)
resp, err := s.client.Do(req, hooks)
var hooks []*Hook
resp, err := s.client.Do(req, &hooks)
if err != nil {
return nil, resp, err
}
return *hooks, resp, err
return hooks, resp, nil
}
// GetHook returns a single specified Hook.