Skip to content

Commit

Permalink
replace body with JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Szlosarczyk committed Apr 1, 2019
1 parent d590b5d commit 63efb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/auctions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def serializable_hash_for_update_action(auction)

def update_whois_from_auction(auction)
whois_record = Whois::Record.find_or_create_by(name: auction.domain) do |record|
record.body = {}
record.json = {}
end

whois_record.update_from_auction(auction)
Expand Down

0 comments on commit 63efb48

Please sign in to comment.