Forgot to remove some extra variables
This commit is contained in:
parent
a24f76bd6a
commit
9fe5fde978
|
@ -10,12 +10,12 @@ namespace NzbDrone.Core.ImportLists.MyAnimeList
|
||||||
public MalSettingsValidator()
|
public MalSettingsValidator()
|
||||||
{
|
{
|
||||||
RuleFor(c => c.BaseUrl).ValidRootUrl();
|
RuleFor(c => c.BaseUrl).ValidRootUrl();
|
||||||
RuleFor(c => c.ClientId).NotEmpty()
|
//RuleFor(c => c.ClientId).NotEmpty()
|
||||||
.OverridePropertyName("ClientId")
|
// .OverridePropertyName("ClientId")
|
||||||
.WithMessage("Must input Client ID from MAL, created in the API section of your account");
|
// .WithMessage("Must input Client ID from MAL, created in the API section of your account");
|
||||||
RuleFor(c => c.ClientSecret).NotEmpty()
|
//RuleFor(c => c.ClientSecret).NotEmpty()
|
||||||
.OverridePropertyName("ClientSecret")
|
// .OverridePropertyName("ClientSecret")
|
||||||
.WithMessage("Must input Client Secret from MAL, created in the API section of your account");
|
// .WithMessage("Must input Client Secret from MAL, created in the API section of your account");
|
||||||
RuleFor(c => c.AccessToken).NotEmpty()
|
RuleFor(c => c.AccessToken).NotEmpty()
|
||||||
.OverridePropertyName("SignIn")
|
.OverridePropertyName("SignIn")
|
||||||
.WithMessage("Must authenticate with MyAnimeList");
|
.WithMessage("Must authenticate with MyAnimeList");
|
||||||
|
|
Loading…
Reference in New Issue