mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:11:42 +00:00
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