LaChimere преди 1 година
родител
ревизия
1facbb2906
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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}`, {