mirror of
https://github.com/internetee/registry.git
synced 2025-06-06 20:55:44 +02:00
replace body with JSON
This commit is contained in:
parent
d590b5d937
commit
63efb48a2a
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ module Api
|
||||||
|
|
||||||
def update_whois_from_auction(auction)
|
def update_whois_from_auction(auction)
|
||||||
whois_record = Whois::Record.find_or_create_by(name: auction.domain) do |record|
|
whois_record = Whois::Record.find_or_create_by(name: auction.domain) do |record|
|
||||||
record.body = {}
|
record.json = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
whois_record.update_from_auction(auction)
|
whois_record.update_from_auction(auction)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue