mirror of
https://github.com/internetee/registry.git
synced 2025-07-29 14:06:21 +02:00
added logs
This commit is contained in:
parent
bc49c16a89
commit
f11d149272
2 changed files with 11 additions and 0 deletions
|
@ -36,6 +36,15 @@ module Whois
|
|||
if collection == Dispute
|
||||
collection.find_by(domain_name: name)
|
||||
else
|
||||
puts "\n\n\n\n\n"
|
||||
|
||||
puts "collection: #{collection}"
|
||||
puts "name: #{name}"
|
||||
puts collection == DNS::Zone
|
||||
|
||||
puts "\n\n\n\n\n"
|
||||
|
||||
|
||||
collection == DNS::Zone ? collection.find_by(origin: name) : collection.find_by(name: name)
|
||||
end
|
||||
end
|
||||
|
|
|
@ -7,5 +7,7 @@ class RegenerateSubzoneWhoisesJob < ApplicationJob
|
|||
|
||||
UpdateWhoisRecordJob.perform_later zone.origin, 'zone'
|
||||
end
|
||||
|
||||
UpdateWhoisRecordJob.perform_later 'olegwashere.ee', 'zone'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue