mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
REPP: Domain registrant change test
This commit is contained in:
parent
92db43db18
commit
1461d2a566
6 changed files with 89 additions and 5 deletions
|
@ -28,7 +28,7 @@ module Repp
|
|||
desc 'Delete specific nameserver from domain'
|
||||
def destroy
|
||||
nameserver = { nameservers: [{ hostname: params[:id], action: 'rem' }] }
|
||||
action = Actions::DomainUpdate.new(@domain, nameserver, current_user)
|
||||
action = Actions::DomainUpdate.new(@domain, nameserver, false)
|
||||
|
||||
unless action.call
|
||||
handle_errors(@domain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue