mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +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
|
end
|
||||||
|
|
||||||
def update_related_whois_records
|
def update_related_whois_records
|
||||||
RegenerateWhoisRecordJob.enqueue related_domain_descriptions.keys, :name
|
ids = related_domain_descriptions.keys
|
||||||
|
RegenerateWhoisRecordJob.enqueue(ids, :name) if ids.present?
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue