Forgot to remove some extra variables

This commit is contained in:
iceypotato 2023-08-02 11:40:53 -07:00
parent a24f76bd6a
commit 9fe5fde978
1 changed files with 6 additions and 6 deletions

View File

@ -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");