fix highwayhash

This commit is contained in:
Tejal Desai
2019-12-21 12:18:09 -08:00
committed by Cole Wippern
parent 5a2cfeabba
commit 6b020a1f97
806 changed files with 188665 additions and 226974 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ func (s *IssuesService) ListByRepo(ctx context.Context, owner string, repo strin
}
// TODO: remove custom Accept headers when APIs fully launch.
acceptHeaders := []string{mediaTypeReactionsPreview, mediaTypeLabelDescriptionSearchPreview, mediaTypeIntegrationPreview}
acceptHeaders := []string{mediaTypeReactionsPreview, mediaTypeLabelDescriptionSearchPreview, mediaTypeLockReasonPreview}
req.Header.Set("Accept", strings.Join(acceptHeaders, ", "))
var issues []*Issue