mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-25 06:15:01 +00:00
Update vendoring
This commit is contained in:
2
vendor/github.com/google/go-github/github/search.go
generated
vendored
2
vendor/github.com/google/go-github/github/search.go
generated
vendored
@@ -148,7 +148,7 @@ func (s *SearchService) search(searchType string, query string, opt *SearchOptio
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if opt.TextMatch {
|
||||
if opt != nil && opt.TextMatch {
|
||||
// Accept header defaults to "application/vnd.github.v3+json"
|
||||
// We change it here to fetch back text-match metadata
|
||||
req.Header.Set("Accept", "application/vnd.github.v3.text-match+json")
|
||||
|
||||
Reference in New Issue
Block a user