Skip to content

Commit a29fd2d

Browse files
authored
Test live auth with new API (#3733)
1 parent 528ca2b commit a29fd2d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/auth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ func authenticateAIStream(authURL *url.URL, apiKey string, req AIAuthRequest) (*
152152

153153
request.Header.Set("Content-Type", "application/json")
154154
request.Header.Set("x-api-key", apiKey)
155+
request.Header.Set("Authorization", apiKey)
155156

156157
resp, err := http.DefaultClient.Do(request)
157158
if err != nil {

0 commit comments

Comments
 (0)