Merge pull request #365 from castdrian/poster-hotfix

fix(metadata): hotfix lonely poster path
This commit is contained in:
mrjvs 2023-06-23 21:30:04 +02:00 committed by GitHub
commit e5e45c4fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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