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

@@ -125,13 +125,13 @@ func (s *OrganizationsService) List(user string, opt *ListOptions) ([]*Organizat
return nil, nil, err
}
orgs := new([]*Organization)
resp, err := s.client.Do(req, orgs)
var orgs []*Organization
resp, err := s.client.Do(req, &orgs)
if err != nil {
return nil, resp, err
}
return *orgs, resp, err
return orgs, resp, nil
}
// Get fetches an organization by name.