We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c0f438 commit 95707abCopy full SHA for 95707ab
cmd/src/extensions_copy.go
@@ -73,6 +73,7 @@ Copy an extension from Sourcegraph.com to your private registry.
73
}
74
75
withCfg(&config{Endpoint: "https://sourcegraph.com"}, func() {
76
+ dotComClient := cfg.apiClient(apiFlags, flagSet.Output())
77
query := `query GetExtension(
78
$extensionID: String!
79
){
@@ -86,7 +87,7 @@ Copy an extension from Sourcegraph.com to your private registry.
86
87
88
}`
89
- ok, err = client.NewRequest(query, map[string]interface{}{
90
+ ok, err = dotComClient.NewRequest(query, map[string]interface{}{
91
"extensionID": extensionID,
92
}).Do(ctx, &extensionResult)
93
})
0 commit comments