mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 04:30:17 +09:00
fix: ts error
This commit is contained in:
parent
afe12c212e
commit
4d75b23ed1
@ -22,7 +22,7 @@ export async function handle(
|
|||||||
return NextResponse.json({ body: "OK" }, { status: 200 });
|
return NextResponse.json({ body: "OK" }, { status: 200 });
|
||||||
}
|
}
|
||||||
|
|
||||||
const authResult = auth(req, ModelProvider.GLM);
|
const authResult = auth(req, ModelProvider.ChatGLM);
|
||||||
if (authResult.error) {
|
if (authResult.error) {
|
||||||
return NextResponse.json(authResult, {
|
return NextResponse.json(authResult, {
|
||||||
status: 401,
|
status: 401,
|
||||||
|
Loading…
Reference in New Issue
Block a user