feat: fix build error

This commit is contained in:
shinya
2025-07-13 12:36:03 +08:00
parent 78fe2485e3
commit 3c8f316ad7
3 changed files with 12 additions and 85 deletions

View File

@@ -71,15 +71,15 @@ export async function fetchVideoDetail({
const detail = await getDetailFromApi(apiSite, id);
return {
id: detail.videoInfo.id,
title: detail.videoInfo.title,
poster: detail.videoInfo.cover || '',
id: detail.id,
title: detail.title,
poster: detail.poster || '',
episodes: detail.episodes,
source: detail.videoInfo.source,
source_name: detail.videoInfo.source_name,
class: detail.videoInfo.remarks,
year: detail.videoInfo.year || '',
desc: detail.videoInfo.desc,
type_name: detail.videoInfo.type,
source: detail.source,
source_name: detail.source_name,
class: detail.class,
year: detail.year || '',
desc: detail.desc,
type_name: detail.type_name,
};
}