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

fix: ts error
This commit is contained in:
Dogtiti 2024-11-01 14:16:50 +08:00 committed by GitHub
commit d66bfc6352
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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,