From 4d75b23ed1b41a042e28805e46ad2b5c8111cc3d Mon Sep 17 00:00:00 2001 From: DDMeaqua Date: Fri, 1 Nov 2024 14:15:12 +0800 Subject: [PATCH] fix: ts error --- app/api/glm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/glm.ts b/app/api/glm.ts index ea7a766bd4b..3625b9f7bf9 100644 --- a/app/api/glm.ts +++ b/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,