mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 17:37:17 +02:00
Merge branch '107821878-emails' into staging
This commit is contained in:
commit
e05ac8a3ad
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class ContactMailer < ApplicationMailer
|
|||
def email_updated(email, contact_id, should_deliver)
|
||||
@contact = Contact.find_by(id: contact_id)
|
||||
return unless email || @contact
|
||||
return if delivery_off?(contact, should_deliver)
|
||||
return if delivery_off?(@contact, should_deliver)
|
||||
return if whitelist_blocked?(email)
|
||||
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue