mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 23:16:23 +02:00
reverse
This commit is contained in:
parent
19df0cd57f
commit
d126944ad7
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ class CompanyRegisterStatusJob < ApplicationJob
|
|||
|
||||
def check_for_force_delete(contact)
|
||||
contact.registrant_domains.any? do |domain|
|
||||
domain.force_delete_scheduled? && notes.include?("Company no: #{contact.ident}")
|
||||
notes = domain.status_notes[DomainStatus::FORCE_DELETE]
|
||||
notes && notes.include?("Company no: #{contact.ident}")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue