5
0
Fork 0
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:
f 2020-06-24 19:48:01 -03:00
parent 968856764a
commit e666fe8de9

View file

@ -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'