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
@@ -17,7 +17,7 @@ namespace NzbDrone.Core.Indexers
public class IndexerBaseSettings
{
private static readonly IndexerCommonSettingsValidator Validator = new IndexerCommonSettingsValidator();
private static readonly IndexerCommonSettingsValidator Validator = new ();
[FieldDefinition(1, Type = FieldType.Number, Label = "Query Limit", HelpText = "The number of queries within a rolling 24 hour period Prowlarr will allow to the site", Advanced = true)]
public int? QueryLimit { get; set; }