Files
Readarr/src/Readarr.Api.V1/Config/DownloadClientConfigController.cs
2021-03-12 12:55:48 +00:00

20 lines
561 B
C#

using NzbDrone.Core.Configuration;
using Readarr.Http;
namespace Readarr.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);
}
}
}