mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-27 23:16:58 -04:00
Fixed: Validation inheritance
This commit is contained in:
@@ -4,9 +4,13 @@ using NzbDrone.Core.Validation;
|
||||
|
||||
namespace NzbDrone.Core.Indexers.Definitions.Xthor
|
||||
{
|
||||
public class XthorSettingsValidator : NoAuthSettingsValidator<XthorSettings>
|
||||
{
|
||||
}
|
||||
|
||||
public class XthorSettings : NoAuthTorrentBaseSettings
|
||||
{
|
||||
private static readonly XthorSettingsValidator Validator = new XthorSettingsValidator();
|
||||
private static readonly XthorSettingsValidator Validator = new ();
|
||||
|
||||
public XthorSettings()
|
||||
{
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
using FluentValidation;
|
||||
|
||||
namespace NzbDrone.Core.Indexers.Definitions.Xthor
|
||||
{
|
||||
public class XthorSettingsValidator : AbstractValidator<XthorSettings>
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user