Fixed: Validation inheritance

This commit is contained in:
Bogdan
2023-01-19 04:52:04 +02:00
committed by Qstick
parent 27094ccf62
commit d6b379df64
31 changed files with 120 additions and 111 deletions
@@ -41,14 +41,10 @@ namespace NzbDrone.Core.Indexers.Torznab
public class TorznabSettings : NewznabSettings, ITorrentIndexerSettings
{
private static readonly TorznabSettingsValidator Validator = new TorznabSettingsValidator();
public TorznabSettings()
{
}
private static readonly TorznabSettingsValidator Validator = new ();
[FieldDefinition(3)]
public IndexerTorrentBaseSettings TorrentBaseSettings { get; set; } = new IndexerTorrentBaseSettings();
public IndexerTorrentBaseSettings TorrentBaseSettings { get; set; } = new ();
public override NzbDroneValidationResult Validate()
{