No longer need to opt into pe_mobile API flag

`pe_mobile` was required to get access to `reviewDecision` and
`statusCheckRollup`, but both are now public in GitHub API.
This commit is contained in:
Mislav Marohnić 2020-03-10 13:58:06 +01:00
parent 115b4b5ee9
commit 42b40b1179

View file

@ -136,7 +136,6 @@ var apiClientForContext = func(ctx context.Context) (*api.Client, error) {
// antiope-preview: Checks
// shadow-cat-preview: Draft pull requests
api.AddHeader("Accept", "application/vnd.github.antiope-preview+json, application/vnd.github.shadow-cat-preview"),
api.AddHeader("GraphQL-Features", "pe_mobile"),
)
return api.NewClient(opts...), nil