From 1facbb2906d653ec72c2d0f920484e79f5a2ba14 Mon Sep 17 00:00:00 2001 From: LaChimere Date: Sun, 7 May 2023 13:52:26 +0800 Subject: [PATCH] fix typo --- app/api/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/common.ts b/app/api/common.ts index 861caf3ba..647b124ad 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -26,7 +26,7 @@ export async function requestOpenai(req: NextRequest) { } 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}`, {