Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#5752 from ConnectAI-E/feat-glm
Browse files Browse the repository at this point in the history
fix: ts error
  • Loading branch information
Dogtiti authored Nov 1, 2024
2 parents 36bfa2e + 4d75b23 commit d66bfc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/glm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d66bfc6

Please sign in to comment.