From e666fe8de97dbba2ba175eb013db6a6db00b607a Mon Sep 17 00:00:00 2001 From: f Date: Wed, 24 Jun 2020 19:48:01 -0300 Subject: [PATCH] =?UTF-8?q?ignorar=20los=20correos=20vac=C3=ADos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/v1/contact_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/v1/contact_controller.rb b/app/controllers/api/v1/contact_controller.rb index e3314bd..1ea4f5e 100644 --- a/app/controllers/api/v1/contact_controller.rb +++ b/app/controllers/api/v1/contact_controller.rb @@ -28,7 +28,7 @@ module Api private def from_is_address? - return unless contact_params[:from].blank? + return if contact_params[:from].blank? return if EmailAddress.valid? contact_params[:from] @reason = 'email_invalid'