mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Update whois record with auction registration_deadline if any
This commit is contained in:
parent
c6fd78b4cd
commit
5c419ae8be
4 changed files with 29 additions and 7 deletions
|
@ -30,6 +30,8 @@ module Api
|
|||
raise "Invalid status #{params[:status]}"
|
||||
end
|
||||
|
||||
auction.mark_deadline(params[:registration_deadline]) if params[:registration_deadline]
|
||||
|
||||
if auction.payment_not_received? || auction.domain_not_registered?
|
||||
update_whois_from_auction(Auction.pending(auction.domain))
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue