fix: getDetailFromApi

This commit is contained in:
shinya
2025-07-08 22:38:46 +08:00
parent 358dde5c20
commit aa70f4c9f6

View File

@@ -26,7 +26,7 @@ export async function GET(request: Request) {
return NextResponse.json({ error: '无效的API来源' }, { status: 400 });
}
const result = await getDetailFromApi(apiSite, sourceCode);
const result = await getDetailFromApi(apiSite, id);
const cacheTime = getCacheTime();
return NextResponse.json(result, {