Change a GT to a GTE (#570)

This commit is contained in:
Kieran authored and GitHub committed 2025-01-15 10:54:45 -08:00
1 parent 61ae50735f
commit 80406c9e0e
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -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