mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-22 22:57:35 +08:00
fix: getDetailFromApi
This commit is contained in:
@@ -26,7 +26,7 @@ export async function GET(request: Request) {
|
|||||||
return NextResponse.json({ error: '无效的API来源' }, { status: 400 });
|
return NextResponse.json({ error: '无效的API来源' }, { status: 400 });
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = await getDetailFromApi(apiSite, sourceCode);
|
const result = await getDetailFromApi(apiSite, id);
|
||||||
const cacheTime = getCacheTime();
|
const cacheTime = getCacheTime();
|
||||||
|
|
||||||
return NextResponse.json(result, {
|
return NextResponse.json(result, {
|
||||||
|
|||||||
Reference in New Issue
Block a user