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