mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
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:
parent
b9c0c20af6
commit
2d0297231d
6 changed files with 13 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue