1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fixed: Importlist sync setting and validator

This commit is contained in:
Qstick
2020-11-28 16:34:07 -05:00
parent 1aa117331f
commit 7cd29c48bb
6 changed files with 12 additions and 17 deletions
@@ -5,7 +5,7 @@ namespace Radarr.Http.Validation
public class ImportListSyncIntervalValidator : PropertyValidator
{
public ImportListSyncIntervalValidator()
: base("Must be between 10 and 1440 or 0 to disable")
: base("Must be greater than 6 hours")
{
}
@@ -18,12 +18,7 @@ namespace Radarr.Http.Validation
var value = (int)context.PropertyValue;
if (value == 0)
{
return true;
}
if (value >= 10 && value <= 1440)
if (value >= 6)
{
return true;
}