Check for domain dispute on create

This commit is contained in:
Karl Erik Õunapuu 2020-05-04 09:06:33 +03:00
parent 928f96691c
commit 1dc2cf8e12
5 changed files with 41 additions and 4 deletions

View file

@ -92,7 +92,7 @@ module Epp
status: Auction.statuses[:payment_received])
active_auction.domain_registered!
end
Dispute.close_by_domain(@domain.name)
render_epp_response '/epp/domains/create'
else
handle_errors(@domain)