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
|
private
|
||||||
|
|
||||||
def from_is_address?
|
def from_is_address?
|
||||||
return unless contact_params[:from].blank?
|
return if contact_params[:from].blank?
|
||||||
return if EmailAddress.valid? contact_params[:from]
|
return if EmailAddress.valid? contact_params[:from]
|
||||||
|
|
||||||
@reason = 'email_invalid'
|
@reason = 'email_invalid'
|
||||||
|
|
Loading…
Reference in a new issue