File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1789,7 +1789,7 @@ func AssignCopilotToIssue(t translations.TranslationHelperFunc) inventory.Server
17891789
17901790 // Add the GraphQL-Features header for the agent assignment API
17911791 // The header will be read by the HTTP transport if it's configured to do so
1792- ctxWithFeatures := withGraphQLFeatures (ctx , "issues_copilot_assignment_api_support" )
1792+ ctxWithFeatures := WithGraphQLFeatures (ctx , "issues_copilot_assignment_api_support" )
17931793
17941794 if err := client .Mutate (
17951795 ctxWithFeatures ,
@@ -1917,8 +1917,8 @@ func AssignCodingAgentPrompt(t translations.TranslationHelperFunc) inventory.Ser
19171917// graphQLFeaturesKey is a context key for GraphQL feature flags
19181918type graphQLFeaturesKey struct {}
19191919
1920- // withGraphQLFeatures adds GraphQL feature flags to the context
1921- func withGraphQLFeatures (ctx context.Context , features ... string ) context.Context {
1920+ // WithGraphQLFeatures adds GraphQL feature flags to the context
1921+ func WithGraphQLFeatures (ctx context.Context , features ... string ) context.Context {
19221922 return context .WithValue (ctx , graphQLFeaturesKey {}, features )
19231923}
19241924
You can’t perform that action at this time.
0 commit comments