mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Refactor some dispute logic
This commit is contained in:
parent
e7ad4a7c64
commit
be14ede8b6
8 changed files with 42 additions and 48 deletions
|
@ -106,7 +106,7 @@ module Epp
|
|||
updated = @domain.update(params[:parsed_frame], current_user)
|
||||
(handle_errors(@domain) && return) unless updated
|
||||
|
||||
Dispute.active.close_by_domain(@domain.name) if @domain.disputed?
|
||||
Dispute.close_by_domain(@domain.name) if @domain.disputed?
|
||||
pending = @domain.epp_pending_update.present?
|
||||
render_epp_response "/epp/domains/success#{'_pending' if pending}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue