mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-22 02:24:44 +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 });
|
||||
}
|
||||
|
||||
const result = await getDetailFromApi(apiSite, sourceCode);
|
||||
const result = await getDetailFromApi(apiSite, id);
|
||||
const cacheTime = getCacheTime();
|
||||
|
||||
return NextResponse.json(result, {
|
||||
|
||||
Reference in New Issue
Block a user