mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 11:18:37 +00:00
Fix linting issue
This commit is contained in:
committed by
Ayaan Zaidi
parent
955768d132
commit
06a3175cd1
@@ -214,7 +214,7 @@ function resolveAliasError(params: {
|
|||||||
function buildOpenAiHeaders(apiKey: string) {
|
function buildOpenAiHeaders(apiKey: string) {
|
||||||
const headers: Record<string, string> = {};
|
const headers: Record<string, string> = {};
|
||||||
if (apiKey) {
|
if (apiKey) {
|
||||||
headers["api-key"] = `${apiKey}`;
|
headers["api-key"] = apiKey;
|
||||||
}
|
}
|
||||||
return headers;
|
return headers;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user