Increased the delay for the Episode information api calls. #1163

Fixed the issue with notifications being slightly borked #1263

Fixed the issue for Radarr, the api changed again #1263
This commit is contained in:
tidusjar 2017-03-17 20:58:53 +00:00
commit 2d0297231d
6 changed files with 13 additions and 10 deletions

View file

@ -152,7 +152,7 @@ namespace Ombi.Api
}
public RadarrMovieContainer GetMovies(string apiKey, Uri baseUrl)
public List<RadarrMovieResponse> GetMovies(string apiKey, Uri baseUrl)
{
var request = new RestRequest { Resource = "/api/movie", Method = Method.GET };
request.AddHeader("X-Api-Key", apiKey);
@ -165,7 +165,7 @@ namespace Ombi.Api
var obj = policy.Execute(() => Api.Execute(request, baseUrl));
return JsonConvert.DeserializeObject<RadarrMovieContainer>(obj.Content);
return JsonConvert.DeserializeObject<List<RadarrMovieResponse>>(obj.Content);
}
}
}