mirror of https://github.com/lidarr/Lidarr
restored a change that wasn't needed after queue json fix.
This commit is contained in:
parent
3de5522444
commit
481a8ceb97
|
@ -91,8 +91,7 @@ namespace NzbDrone.Core.Providers
|
||||||
|
|
||||||
CheckForError(response);
|
CheckForError(response);
|
||||||
|
|
||||||
var items = JsonConvert.DeserializeObject<SabQueue>(JObject.Parse(response).SelectToken("queue").ToString()).Items;
|
return JsonConvert.DeserializeObject<SabQueue>(JObject.Parse(response).SelectToken("queue").ToString()).Items;
|
||||||
return items ?? new List<SabQueueItem>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual List<SabHistoryItem> GetHistory(int start = 0, int limit = 0)
|
public virtual List<SabHistoryItem> GetHistory(int start = 0, int limit = 0)
|
||||||
|
|
Loading…
Reference in New Issue