mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Bulk NS change: track untouched domains
This commit is contained in:
parent
8bb0fd80d1
commit
af0a0611ce
4 changed files with 20 additions and 15 deletions
|
@ -6,9 +6,9 @@ module Repp
|
|||
|
||||
def update
|
||||
affected, errored = current_user.registrar
|
||||
.replace_nameservers(hostname,
|
||||
hostname_params[:data][:attributes],
|
||||
domains: domains_from_params)
|
||||
.replace_nameservers(hostname,
|
||||
hostname_params[:data][:attributes],
|
||||
domains: domains_from_params)
|
||||
|
||||
render_success(data: data_format_for_success(affected, errored))
|
||||
rescue ActiveRecord::RecordInvalid => e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue