Bläddra i källkod

fix: ts error

DDMeaqua 1 år sedan
förälder
incheckning
4d75b23ed1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/api/glm.ts

+ 1 - 1
app/api/glm.ts

@@ -22,7 +22,7 @@ export async function handle(
     return NextResponse.json({ body: "OK" }, { status: 200 });
   }
 
-  const authResult = auth(req, ModelProvider.GLM);
+  const authResult = auth(req, ModelProvider.ChatGLM);
   if (authResult.error) {
     return NextResponse.json(authResult, {
       status: 401,