diff --git a/RequestPlex.Api/Models/Tv/TvSearchResult.cs b/RequestPlex.Api/Models/Tv/TvSearchResult.cs index edeee7e30..1920ad2e6 100644 --- a/RequestPlex.Api/Models/Tv/TvSearchResult.cs +++ b/RequestPlex.Api/Models/Tv/TvSearchResult.cs @@ -63,6 +63,6 @@ namespace RequestPlex.Api.Models.Tv public class TvSearchResult { - public List data { get; set; } + public List data { get; set; } } } diff --git a/RequestPlex.UI/Content/site.js b/RequestPlex.UI/Content/site.js index 4c05770ee..5c0cbb340 100644 --- a/RequestPlex.UI/Content/site.js +++ b/RequestPlex.UI/Content/site.js @@ -27,7 +27,7 @@ function buildMovieContext(result) { } function buildTvShowContext(result) { - var date = new Date(result.firstAirDate); + var date = new Date(result.firstAired); var year = date.getFullYear(); var context = { posterPath: result.posterPath,