Change a GT to a GTE (#570)
This commit is contained in:
1 parent
61ae50735f
commit
80406c9e0e
2 files changed
+8
-1
No files matched your search
@@ -45,6 +45,6 @@ defmodule Pinchflat.Settings.Setting do
|
||||
setting
|
||||
|> cast(attrs, @allowed_fields)
|
||||
|> validate_required(@required_fields)
|
||||
|> validate_number(:extractor_sleep_interval_seconds, greater_than: 0)
|
||||
|> validate_number(:extractor_sleep_interval_seconds, greater_than_or_equal_to: 0)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user