pull/1204/head
Jamie.Rees 8 years ago
parent c87451e93c
commit 2259f18ae6

@ -152,7 +152,7 @@ namespace Ombi.Api
}
public List<RadarrMovieResponse> GetMovies(string apiKey, Uri baseUrl)
public RadarrMovieContainer 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<List<RadarrMovieResponse>>(obj.Content);
return JsonConvert.DeserializeObject<RadarrMovieContainer>(obj.Content);
}
}
}
Loading…
Cancel
Save