quick changes

This commit is contained in:
tidusjar 2016-03-02 17:29:53 +00:00
parent 9ce08902d7
commit 4f7ac123dd
2 changed files with 2 additions and 2 deletions

View file

@ -63,6 +63,6 @@ namespace RequestPlex.Api.Models.Tv
public class TvSearchResult public class TvSearchResult
{ {
public List<TvShowSearchResult> data { get; set; } public List<TvShow> data { get; set; }
} }
} }

View file

@ -27,7 +27,7 @@ function buildMovieContext(result) {
} }
function buildTvShowContext(result) { function buildTvShowContext(result) {
var date = new Date(result.firstAirDate); var date = new Date(result.firstAired);
var year = date.getFullYear(); var year = date.getFullYear();
var context = { var context = {
posterPath: result.posterPath, posterPath: result.posterPath,