mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-30 19:50:15 -07:00
fixed validation spelling
This commit is contained in:
parent
66ce8e8b27
commit
e4c8255d69
2 changed files with 6 additions and 4 deletions
|
@ -28,7 +28,7 @@ namespace NzbDrone.Api.Indexers
|
|||
SharedValidator.RuleFor(c => c.Name).NotEmpty();
|
||||
SharedValidator.RuleFor(c => c.Implementation).NotEmpty();
|
||||
|
||||
SharedValidator.RuleForField<string>(c => c.Fields, "Url").NotEmpty();
|
||||
SharedValidator.RuleForField<string>(c=>c.Fields,"Url").NotEmpty();
|
||||
|
||||
PostValidator.RuleFor(c => c.Fields).NotEmpty();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue