Skip to content

Commit 9d49dbc

Browse files
authored
add repo fields flag
1 parent 879cb46 commit 9d49dbc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/github/issues.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,8 +1778,8 @@ func ListIssues(t translations.TranslationHelperFunc) inventory.ServerTool {
17781778
issueQuery := getIssueQueryType(hasLabels, hasSince)
17791779
// The list_issues query references the issue_fields-gated IssueFieldValueFilter
17801780
// input type unconditionally, so we always opt into the feature via header. This
1781-
// is a no-op once the flag is globally rolled out.
1782-
ctxWithFeatures := ghcontext.WithGraphQLFeatures(ctx, "issue_fields")
1781+
// is a no-op once the flags are globally rolled out.
1782+
ctxWithFeatures := ghcontext.WithGraphQLFeatures(ctx, "issue_fields", "repo_issue_fields")
17831783
if err := client.Query(ctxWithFeatures, issueQuery, vars); err != nil {
17841784
return ghErrors.NewGitHubGraphQLErrorResponse(
17851785
ctx,

0 commit comments

Comments
 (0)