mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
parent
a720e5f3b5
commit
48f70815a3
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue