mirror of https://github.com/Radarr/Radarr
20 lines
559 B
C#
20 lines
559 B
C#
using NzbDrone.Core.Configuration;
|
|
using Radarr.Http;
|
|
|
|
namespace Radarr.Api.V3.Config
|
|
{
|
|
[V3ApiController("config/downloadclient")]
|
|
public class DownloadClientConfigController : ConfigController<DownloadClientConfigResource>
|
|
{
|
|
public DownloadClientConfigController(IConfigService configService)
|
|
: base(configService)
|
|
{
|
|
}
|
|
|
|
protected override DownloadClientConfigResource ToResource(IConfigService model)
|
|
{
|
|
return DownloadClientConfigResourceMapper.ToResource(model);
|
|
}
|
|
}
|
|
}
|