Browse Source

Merge pull request #1312 from LaChimere/user/lachimere/fix-typo

Fix typo
Yifei Zhang 1 year ago
parent
commit
bc523d302b
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}`, {