Api changed again, so more fixes for #878

This commit is contained in:
Jamie.Rees 2017-01-09 08:47:28 +00:00
commit 6048053c3c
10 changed files with 20 additions and 20 deletions

View file

@ -31,7 +31,7 @@ namespace Ombi.Api.Models.Watcher
{
public class WatcherAddMovieResult
{
public string status { get; set; }
public bool response { get; set; }
public string message { get; set; }
[JsonIgnore]

View file

@ -78,7 +78,10 @@ namespace Ombi.Api.Models.Watcher
public class WatcherListStatusResultContainer
{
public List<WatcherListStatusResult> Results { get; set; }
[JsonProperty("movies")]
public List<WatcherListStatusResult> Movies { get; set; }
[JsonProperty("response")]
public bool Response { get; set; }
[JsonIgnore]
public string ErrorMessage { get; set; }
[JsonIgnore]