Skip to content

Commit d66bfc6

Browse files
authored
Merge pull request ChatGPTNextWeb#5752 from ConnectAI-E/feat-glm
fix: ts error
2 parents 36bfa2e + 4d75b23 commit d66bfc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/glm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export async function handle(
2222
return NextResponse.json({ body: "OK" }, { status: 200 });
2323
}
2424

25-
const authResult = auth(req, ModelProvider.GLM);
25+
const authResult = auth(req, ModelProvider.ChatGLM);
2626
if (authResult.error) {
2727
return NextResponse.json(authResult, {
2828
status: 401,

0 commit comments

Comments
 (0)