Fixed: Saving nyaa settings

Fixes #1687
pull/4/head
Mark McDowall 8 years ago
parent 4043d07ab1
commit c6fa883662

@ -1,4 +1,4 @@
using FluentValidation; using FluentValidation;
using NzbDrone.Core.Annotations; using NzbDrone.Core.Annotations;
using NzbDrone.Core.ThingiProvider; using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.Validation; using NzbDrone.Core.Validation;
@ -25,10 +25,10 @@ namespace NzbDrone.Core.Indexers.Nyaa
} }
[FieldDefinition(0, Label = "Website URL")] [FieldDefinition(0, Label = "Website URL")]
public string BaseUrl { get; } public string BaseUrl { get; set; }
[FieldDefinition(1, Label = "Additional Parameters", Advanced = true, HelpText = "Please note if you change the category you will have to add required/restricted rules about the subgroups to avoid foreign language releases.")] [FieldDefinition(1, Label = "Additional Parameters", Advanced = true, HelpText = "Please note if you change the category you will have to add required/restricted rules about the subgroups to avoid foreign language releases.")]
public string AdditionalParameters { get; } public string AdditionalParameters { get; set; }
public NzbDroneValidationResult Validate() public NzbDroneValidationResult Validate()
{ {

Loading…
Cancel
Save