Workaround for #440

pull/470/head
tidusjar 8 years ago
parent b3e90c7a7f
commit 4392219823

@ -24,6 +24,10 @@ namespace PlexRequests.Api.Models.Sonarr
public class SonarrAddSeries public class SonarrAddSeries
{ {
public SonarrAddSeries()
{
images = new List<string>();
}
public AddOptions addOptions { get; set; } public AddOptions addOptions { get; set; }
public string title { get; set; } public string title { get; set; }
public List<Season> seasons { get; set; } public List<Season> seasons { get; set; }
@ -37,6 +41,7 @@ namespace PlexRequests.Api.Models.Sonarr
public string imdbId { get; set; } public string imdbId { get; set; }
public string titleSlug { get; set; } public string titleSlug { get; set; }
public int id { get; set; } public int id { get; set; }
public List<string> images { get; set; }
[JsonIgnore] [JsonIgnore]
public List<string> ErrorMessages { get; set; } public List<string> ErrorMessages { get; set; }
} }

Loading…
Cancel
Save