ignorar los correos vacíos
This commit is contained in:
parent
968856764a
commit
e666fe8de9
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue