mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-13 22:49:11 +01:00
undo duplicate path
This commit is contained in:
parent
28d2dd0e89
commit
330cbf2d9e
@ -53,9 +53,7 @@ export function fromatTMDBMetaResult(
|
||||
id: details.id,
|
||||
title: (details as TMDBMovieData).title,
|
||||
object_type: mediaTypeToTMDB(type),
|
||||
poster:
|
||||
Tmdb.getMediaPoster((details as TMDBMovieData).poster_path) ??
|
||||
undefined,
|
||||
poster: (details as TMDBMovieData).poster_path ?? undefined,
|
||||
original_release_year: Number(
|
||||
(details as TMDBMovieData).release_date?.split("-")[0]
|
||||
),
|
||||
@ -71,9 +69,7 @@ export function fromatTMDBMetaResult(
|
||||
season_number: v.season_number,
|
||||
title: v.name,
|
||||
})),
|
||||
poster:
|
||||
Tmdb.getMediaPoster((details as TMDBMovieData).poster_path) ??
|
||||
undefined,
|
||||
poster: (details as TMDBMovieData).poster_path ?? undefined,
|
||||
original_release_year: Number(
|
||||
(details as TMDBShowData).first_air_date?.split("-")[0]
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user