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,
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(),
};
}