mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Create whois records on releasing domain to auction
This commit is contained in:
parent
c85ebf542d
commit
4413a1bb27
3 changed files with 20 additions and 3 deletions
|
@ -52,7 +52,7 @@ module Api
|
|||
end
|
||||
|
||||
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.json = {}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue