You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-11-06 09:19:38 +02:00
Cleaned up some validation
This commit is contained in:
@@ -40,7 +40,7 @@ namespace NzbDrone.Api.Indexers
|
||||
GetResourceAll = GetReleases;
|
||||
Post["/"] = x=> DownloadRelease(this.Bind<ReleaseResource>());
|
||||
|
||||
PostValidator.RuleFor(s => s.DownloadAllowed);
|
||||
PostValidator.RuleFor(s => s.DownloadAllowed).Equal(true);
|
||||
}
|
||||
|
||||
private Response DownloadRelease(ReleaseResource release)
|
||||
|
||||
Reference in New Issue
Block a user