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:
18
src/NzbDrone.Api/DownloadClient/DownloadClientModule.cs
Normal file
18
src/NzbDrone.Api/DownloadClient/DownloadClientModule.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using NzbDrone.Core.Download;
|
||||
|
||||
namespace NzbDrone.Api.DownloadClient
|
||||
{
|
||||
public class DownloadClientModule : ProviderModuleBase<DownloadClientResource, IDownloadClient, DownloadClientDefinition>
|
||||
{
|
||||
public DownloadClientModule(IDownloadClientFactory downloadClientFactory)
|
||||
: base(downloadClientFactory, "downloadclient")
|
||||
{
|
||||
}
|
||||
|
||||
protected override void Validate(DownloadClientDefinition definition)
|
||||
{
|
||||
if (!definition.Enable) return;
|
||||
base.Validate(definition);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user