diff --git a/server/api/themoviedb.ts b/server/api/themoviedb.ts index 0f8763964..43f9f3645 100644 --- a/server/api/themoviedb.ts +++ b/server/api/themoviedb.ts @@ -71,7 +71,7 @@ export interface TmdbTvResult extends TmdbMediaResult { name: string; original_name: string; origin_country: string[]; - first_air_Date: string; + first_air_date: string; } export interface TmdbPersonResult { diff --git a/server/models/Search.ts b/server/models/Search.ts index 72e647e92..68d8dab89 100644 --- a/server/models/Search.ts +++ b/server/models/Search.ts @@ -78,7 +78,7 @@ export const mapTvResult = ( media?: Media ): TvResult => ({ id: tvResult.id, - firstAirDate: tvResult.first_air_Date, + firstAirDate: tvResult.first_air_date, genreIds: tvResult.genre_ids, // Some results from tmdb dont return the mediaType so we force it here! mediaType: tvResult.media_type || 'tv',