1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

fix poster path

This commit is contained in:
adrifcastr 2023-06-23 14:20:04 +02:00
parent eea9c19b56
commit f68c8148d8

View file

@ -73,7 +73,7 @@ export function formatTMDBMetaResult(
season_number: v.season_number, season_number: v.season_number,
title: v.name, title: v.name,
})), })),
poster: (details as TMDBMovieData).poster_path ?? undefined, poster: getMediaPoster(show.poster_path) ?? undefined,
original_release_year: new Date(show.first_air_date).getFullYear(), original_release_year: new Date(show.first_air_date).getFullYear(),
}; };
} }