From 2259f18ae66668d21c57bd0530b0bd8b99b179da Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Thu, 2 Mar 2017 09:53:20 +0000 Subject: [PATCH] Fixed #1195 --- Ombi.Api/RadarrApi.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ombi.Api/RadarrApi.cs b/Ombi.Api/RadarrApi.cs index 1840f40a0..9d5a34e9a 100644 --- a/Ombi.Api/RadarrApi.cs +++ b/Ombi.Api/RadarrApi.cs @@ -152,7 +152,7 @@ namespace Ombi.Api } - public List 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>(obj.Content); + return JsonConvert.DeserializeObject(obj.Content); } } } \ No newline at end of file