mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 12:00:06 -07:00
quick changes
This commit is contained in:
parent
9ce08902d7
commit
4f7ac123dd
2 changed files with 2 additions and 2 deletions
|
@ -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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue