mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 07:52:41 +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) {
|
||||
const headers: Record<string, string> = {};
|
||||
if (apiKey) {
|
||||
headers["api-key"] = `${apiKey}`;
|
||||
headers["api-key"] = apiKey;
|
||||
}
|
||||
return headers;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user