mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Change API Version from V3 to V1
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using NzbDrone.Core.Configuration;
|
||||
using Lidarr.Http;
|
||||
|
||||
namespace Lidarr.Api.V1.Config
|
||||
{
|
||||
public class UiConfigModule : SonarrConfigModule<UiConfigResource>
|
||||
{
|
||||
public UiConfigModule(IConfigService configService)
|
||||
: base(configService)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected override UiConfigResource ToResource(IConfigService model)
|
||||
{
|
||||
return UiConfigResourceMapper.ToResource(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user