Fixed: rTorrent category is optional

Fixes: #726
pull/4/head
Mark McDowall 9 years ago
parent a720e5f3b5
commit 48f70815a3

@ -12,6 +12,8 @@ namespace NzbDrone.Core.Download.Clients.RTorrent
RuleFor(c => c.Host).ValidHost(); RuleFor(c => c.Host).ValidHost();
RuleFor(c => c.Port).InclusiveBetween(0, 65535); RuleFor(c => c.Port).InclusiveBetween(0, 65535);
RuleFor(c => c.TvCategory).NotEmpty(); RuleFor(c => c.TvCategory).NotEmpty();
.WithMessage("A category is recommended")
.AsWarning();
} }
} }

Loading…
Cancel
Save