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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user