mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 14:36:22 +02:00
added check email for contacts
This commit is contained in:
parent
5e694ce5a0
commit
7d9d688c29
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ class CheckForceDeleteLift < ApplicationJob
|
|||
|
||||
def find_domains_to_lift_force_delete
|
||||
Domain.where("'#{DomainStatus::FORCE_DELETE}' = ANY (statuses)")
|
||||
.select { |d| d.registrant.need_to_lift_force_delete? }
|
||||
.select { |d| d.registrant.need_to_lift_force_delete? && d.contacts.all?(&:need_to_lift_force_delete?) }
|
||||
end
|
||||
|
||||
def find_domains_to_process(domains)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue