Change a GT to a GTE (#570)

This commit is contained in:
Kieran
2025-01-15 10:54:45 -08:00
committed by GitHub
parent 61ae50735f
commit 80406c9e0e
2 changed files with 8 additions and 1 deletions
+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