quick changes

pull/13/head
tidusjar 9 years ago
parent 9ce08902d7
commit 4f7ac123dd

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

@ -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,

Loading…
Cancel
Save