mirror of
https://github.com/internetee/registry.git
synced 2025-08-22 01:00:52 +02:00
added incldue to the dataset
This commit is contained in:
parent
7d9d688c29
commit
2b4a0c11da
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ class CheckForceDeleteLift < ApplicationJob
|
|||
private
|
||||
|
||||
def find_domains_to_lift_force_delete
|
||||
Domain.where("'#{DomainStatus::FORCE_DELETE}' = ANY (statuses)")
|
||||
Domain.where("'#{DomainStatus::FORCE_DELETE}' = ANY (statuses)").includes(:registrant, :contacts)
|
||||
.select { |d| d.registrant.need_to_lift_force_delete? && d.contacts.all?(&:need_to_lift_force_delete?) }
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue