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()
{
RuleFor(c => c.BaseUrl).ValidRootUrl();
RuleFor(c => c.ClientId).NotEmpty()
.OverridePropertyName("ClientId")
.WithMessage("Must input Client ID from MAL, created in the API section of your account");
RuleFor(c => c.ClientSecret).NotEmpty()
.OverridePropertyName("ClientSecret")
.WithMessage("Must input Client Secret from MAL, created in the API section of your account");
//RuleFor(c => c.ClientId).NotEmpty()
// .OverridePropertyName("ClientId")
// .WithMessage("Must input Client ID from MAL, created in the API section of your account");
//RuleFor(c => c.ClientSecret).NotEmpty()
// .OverridePropertyName("ClientSecret")
// .WithMessage("Must input Client Secret from MAL, created in the API section of your account");
RuleFor(c => c.AccessToken).NotEmpty()
.OverridePropertyName("SignIn")
.WithMessage("Must authenticate with MyAnimeList");