mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-17 21:25:39 -04:00
20 lines
561 B
C#
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);
|
|
}
|
|
}
|
|
}
|