fix: add await

This commit is contained in:
shinya
2025-07-14 20:53:40 +08:00
parent 446bb0e9f0
commit c2ebf5758e
5 changed files with 8 additions and 8 deletions

View File

@@ -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: {