瀏覽代碼

Merge pull request #5752 from ConnectAI-E/feat-glm

fix: ts error
Dogtiti 1 年之前
父節點
當前提交
d66bfc6352
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,