Skip to content

Commit 9916bfe

Browse files
committed
fix lint issue
1 parent 95291ec commit 9916bfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/controller/ai_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ type azureAPIKeyTransport struct {
330330
func (t *azureAPIKeyTransport) RoundTrip(req *http.Request) (*http.Response, error) {
331331
req = req.Clone(req.Context())
332332
req.Header.Del("Authorization")
333-
req.Header.Set("api-key", t.apiKey)
333+
req.Header.Set("Api-Key", t.apiKey)
334334
return t.transport.RoundTrip(req)
335335
}
336336

0 commit comments

Comments
 (0)