mirror of
https://github.com/internetee/registry.git
synced 2025-07-19 17:25:57 +02:00
Merge branch 'story/110392672-domains-async' into staging
# Conflicts: # app/models/contact.rb
This commit is contained in:
commit
90cca15032
1 changed files with 3 additions and 2 deletions
|
@ -503,7 +503,8 @@ class Contact < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def update_related_whois_records
|
||||
RegenerateWhoisRecordJob.enqueue related_domain_descriptions.keys, :name
|
||||
end
|
||||
ids = related_domain_descriptions.keys
|
||||
RegenerateWhoisRecordJob.enqueue(ids, :name) if ids.present?
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue