mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-29 00:33:38 +00:00
Update deps
This commit is contained in:
6
vendor/github.com/google/go-github/github/orgs.go
generated
vendored
6
vendor/github.com/google/go-github/github/orgs.go
generated
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user