1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Fixed: rTorrent category is optional

Fixes: #726
This commit is contained in:
Mark McDowall 2015-08-04 15:13:57 -07:00
parent a720e5f3b5
commit 48f70815a3

View File

@ -12,6 +12,8 @@ public RTorrentSettingsValidator()
RuleFor(c => c.Host).ValidHost();
RuleFor(c => c.Port).InclusiveBetween(0, 65535);
RuleFor(c => c.TvCategory).NotEmpty();
.WithMessage("A category is recommended")
.AsWarning();
}
}