Added Path validator for SeriesModule

pull/6/head
Mark McDowall 12 years ago
parent 347bcb0cf4
commit da9838f032

@ -29,6 +29,7 @@ namespace NzbDrone.Api.Series
Get["/{slug}"] = o => GetSeries((string)o.slug.ToString());
SharedValidator.RuleFor(s => s.Path).NotEmpty();
SharedValidator.RuleFor(s => s.QualityProfileId).ValidId();
PostValidator.RuleFor(s => s.Title).NotEmpty();

Loading…
Cancel
Save