mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 08:22:05 +02:00
Merge branch 'staging' of http://github.com/internetee/registry into staging
This commit is contained in:
commit
14a2a6cc02
6 changed files with 109 additions and 16 deletions
|
@ -35,7 +35,7 @@ module Repp
|
|||
error! I18n.t('errors.messages.epp_authorization_error'), 401 unless domain.auth_info.eql? request.headers['Auth-Code']
|
||||
|
||||
contact_repp_json = proc{|contact|
|
||||
contact.attributes.slice("code", "ident_type", "ident_country_code", "phone", "email", "street", "city", "zip","country_code", "statuses")
|
||||
contact.attributes.slice("code", "name", "ident", "ident_type", "ident_country_code", "phone", "email", "street", "city", "zip","country_code", "statuses")
|
||||
}
|
||||
|
||||
@response = {
|
||||
|
|
|
@ -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