mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Fix some interaction calls
This commit is contained in:
parent
289d06e926
commit
c6f0c3f6a7
9 changed files with 30 additions and 25 deletions
|
@ -13,7 +13,7 @@ module Whois
|
|||
Array(names).each do |name|
|
||||
record = find_record(klass, name)
|
||||
if record
|
||||
Whois::UpdateRecord.run(record: record, type: type)
|
||||
Whois::UpdateRecord.run(record: { klass: klass.to_s, id: record.id, type: type })
|
||||
else
|
||||
Whois::DeleteRecord.run(name: name, type: type)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue