forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #1312 from LaChimere/user/lachimere/fix-typo
Fix typo
This commit is contained in:
commit
bc523d302b
@ -26,7 +26,7 @@ export async function requestOpenai(req: NextRequest) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!authValue || !authValue.startsWith("Bearer sk-")) {
|
if (!authValue || !authValue.startsWith("Bearer sk-")) {
|
||||||
console.error("[OpenAI Request] invlid api key provided", authValue);
|
console.error("[OpenAI Request] invalid api key provided", authValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
return fetch(`${baseUrl}/${openaiPath}`, {
|
return fetch(`${baseUrl}/${openaiPath}`, {
|
||||||
|
Loading…
Reference in New Issue
Block a user