1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed: Saving nyaa settings

Fixes #1687
This commit is contained in:
Mark McDowall 2017-02-16 09:19:28 -08:00
parent 4043d07ab1
commit c6fa883662

View File

@ -1,4 +1,4 @@
using FluentValidation;
using FluentValidation;
using NzbDrone.Core.Annotations;
using NzbDrone.Core.ThingiProvider;
using NzbDrone.Core.Validation;
@ -25,10 +25,10 @@ public NyaaSettings()
}
[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.")]
public string AdditionalParameters { get; }
public string AdditionalParameters { get; set; }
public NzbDroneValidationResult Validate()
{