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