fix: ts error

This commit is contained in:
DDMeaqua 2024-11-01 14:15:12 +08:00
parent afe12c212e
commit 4d75b23ed1
1 changed files with 1 additions and 1 deletions

View File

@ -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,