mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Download clients now use thingy provider
This commit is contained in:
@@ -23,6 +23,13 @@ namespace NzbDrone.Core.Queue
|
||||
public List<Queue> GetQueue()
|
||||
{
|
||||
var downloadClient = _downloadClientProvider.GetDownloadClient();
|
||||
|
||||
if (downloadClient == null)
|
||||
{
|
||||
_logger.Trace("Download client is not configured.");
|
||||
return new List<Queue>();
|
||||
}
|
||||
|
||||
var queueItems = downloadClient.GetQueue();
|
||||
|
||||
return MapQueue(queueItems);
|
||||
|
Reference in New Issue
Block a user