Skip to content

Commit 5cea7d6

Browse files
authored
nes: include Authorization Bearer for overridden API key (#296)
1 parent 205bc92 commit 5cea7d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/extension/xtab/node/xtabEndpoint.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export class XtabEndpoint extends ChatEndpoint {
8989
throw new Error(message);
9090
}
9191
return {
92+
'Authorization': `Bearer ${apiKey}`,
9293
'api-key': apiKey,
9394
};
9495
}

0 commit comments

Comments
 (0)