mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-07 05:57:54 +00:00
Update deps
This commit is contained in:
6
vendor/github.com/google/go-github/github/gists_comments.go
generated
vendored
6
vendor/github.com/google/go-github/github/gists_comments.go
generated
vendored
@@ -38,13 +38,13 @@ func (s *GistsService) ListComments(gistID string, opt *ListOptions) ([]*GistCom
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
comments := new([]*GistComment)
|
||||
resp, err := s.client.Do(req, comments)
|
||||
var comments []*GistComment
|
||||
resp, err := s.client.Do(req, &comments)
|
||||
if err != nil {
|
||||
return nil, resp, err
|
||||
}
|
||||
|
||||
return *comments, resp, err
|
||||
return comments, resp, nil
|
||||
}
|
||||
|
||||
// GetComment retrieves a single comment from a gist.
|
||||
|
||||
Reference in New Issue
Block a user