From aa70f4c9f6628a56f3ac0e0882cbfa42b6949d19 Mon Sep 17 00:00:00 2001 From: shinya Date: Tue, 8 Jul 2025 22:38:46 +0800 Subject: [PATCH] fix: getDetailFromApi --- src/app/api/detail/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/detail/route.ts b/src/app/api/detail/route.ts index 4e5552f..1c3e1f7 100644 --- a/src/app/api/detail/route.ts +++ b/src/app/api/detail/route.ts @@ -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, {