Merge pull request #335 from tidusjar/dev

workaround for #334
pull/342/head^2^2 v1.8.0
Jamie 9 years ago committed by GitHub
commit 493e14ad78

@ -136,7 +136,11 @@ namespace PlexRequests.Api
{ {
var request = new RestRequest var request = new RestRequest
{ {
Resource = "/api/{apikey}/movie.list?status={status}" Resource = "/api/{apikey}/movie.list?status={status}",
OnBeforeDeserialization = (x =>
{
x.Content = x.Content.Replace("[]", "{}");
})
}; };
request.AddUrlSegment("apikey", apiKey); request.AddUrlSegment("apikey", apiKey);

Loading…
Cancel
Save