Added root folder and approving quality profiles in radarr #1065

This commit is contained in:
tidusjar 2017-02-17 23:47:03 +00:00
commit a93c18bc04
14 changed files with 395 additions and 32 deletions

View file

@ -37,7 +37,8 @@ namespace Ombi.UI.Validators
RuleFor(request => request.ApiKey).NotEmpty().WithMessage("You must specify a Api Key.");
RuleFor(request => request.Ip).NotEmpty().WithMessage("You must specify a IP/Host name.");
RuleFor(request => request.Port).NotEmpty().WithMessage("You must specify a Port.");
RuleFor(request => request.QualityProfile).NotEmpty().WithMessage("You must specify a Quality Profile.");
RuleFor(request => request.QualityProfile).NotEmpty().NotNull().WithMessage("You must specify a Quality Profile.");
RuleFor(request => request.RootPath).NotEmpty().NotNull().WithMessage("You must enter a root path.");
}
}
}