mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-17 16:56:37 +08:00
Merge pull request #5752 from ConnectAI-E/feat-glm
Some checks failed
Run Tests / test (push) Has been cancelled
Some checks failed
Run Tests / test (push) Has been cancelled
fix: ts error
This commit is contained in:
commit
d66bfc6352
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user