mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Registrant confirmation email typo fix #2874
This commit is contained in:
parent
aad7884c0e
commit
259b6dd256
2 changed files with 8 additions and 8 deletions
|
@ -73,8 +73,8 @@ class DomainMailer < ApplicationMailer
|
|||
@domain = domain
|
||||
# no delivery off control, driggered by que, no epp request
|
||||
|
||||
@new_registrant_email = @domain.pending_json[:new_registrant_email]
|
||||
@new_registrant_name = @domain.pending_json[:new_registrant_name]
|
||||
@new_registrant_email = @domain.pending_json['new_registrant_email']
|
||||
@new_registrant_name = @domain.pending_json['new_registrant_name']
|
||||
|
||||
return if whitelist_blocked?(@new_registrant_email)
|
||||
mail(to: @new_registrant_email,
|
||||
|
@ -86,8 +86,8 @@ class DomainMailer < ApplicationMailer
|
|||
@domain = domain
|
||||
# no delivery off control, driggered by cron, no epp request
|
||||
|
||||
@new_registrant_email = @domain.pending_json[:new_registrant_email]
|
||||
@new_registrant_name = @domain.pending_json[:new_registrant_name]
|
||||
@new_registrant_email = @domain.pending_json['new_registrant_email']
|
||||
@new_registrant_name = @domain.pending_json['new_registrant_name']
|
||||
|
||||
return if whitelist_blocked?(@new_registrant_email)
|
||||
if @new_registrant_email.blank?
|
||||
|
|
|
@ -394,10 +394,10 @@ class Domain < ActiveRecord::Base
|
|||
self.registrant_verification_token = token
|
||||
self.registrant_verification_asked_at = asked_at
|
||||
set_pending_update
|
||||
pending_json[:domain] = changes_cache
|
||||
pending_json[:new_registrant_id] = new_registrant_id
|
||||
pending_json[:new_registrant_email] = new_registrant_email
|
||||
pending_json[:new_registrant_name] = new_registrant_name
|
||||
pending_json['domain'] = changes_cache
|
||||
pending_json['new_registrant_id'] = new_registrant_id
|
||||
pending_json['new_registrant_email'] = new_registrant_email
|
||||
pending_json['new_registrant_name'] = new_registrant_name
|
||||
|
||||
# This pending_update! method is triggered by before_update
|
||||
# Note, all before_save callbacks are excecuted before before_update,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue