Revert "dry run email validation"

This reverts commit 910490528d.
This commit is contained in:
Pete Matsyburka committed 2024-10-22 17:41:25 +03:00
1 parent 110cdb5123
commit 3f03d343ca
1 file changed
+1 -5
+1 -5
View File
@@ -75,11 +75,7 @@ module Params
return
end
if Rails.env.production?
Rollbar.error(message || "#{key} must follow the email format") if defined?(Rollbar)
else
raise_error(message || "#{key} must follow the email format")
end
raise_error(message || "#{key} must follow the email format")
end
def unique_value(params, key, message: nil)