mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Story: 105754008 Setting domain from queue that it's valid
This commit is contained in:
parent
1aa41257c5
commit
bdfa56e8fc
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ class DomainUpdateConfirmJob < Que::Job
|
|||
DomainMailer.pending_update_rejected_notification_for_new_registrant(domain).deliver_now
|
||||
domain.poll_message!(:poll_pending_update_rejected_by_registrant)
|
||||
domain.clean_pendings!
|
||||
domain.instance_variable_set("@changed_attributes", domain.changed_attributes.merge("statuses"=>[]))
|
||||
domain.save
|
||||
end
|
||||
destroy # it's best to destroy the job in the same transaction
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue