LaChimere 1 year ago
parent
commit
1facbb2906
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/common.ts

+ 1 - 1
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}`, {