mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-03-02 01:04:42 +08:00
fix: add await
This commit is contained in:
@@ -27,7 +27,7 @@ export async function GET(request: Request) {
|
||||
}
|
||||
|
||||
const result = await getDetailFromApi(apiSite, id);
|
||||
const cacheTime = getCacheTime();
|
||||
const cacheTime = await getCacheTime();
|
||||
|
||||
return NextResponse.json(result, {
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user