mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
116209751-modification_for_update
This commit is contained in:
parent
55af3c8326
commit
0696700e5d
1 changed files with 5 additions and 6 deletions
|
@ -187,12 +187,6 @@ module Depp
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
if domain_params[:verified].present?
|
|
||||||
custom_params[:_anonymus] << {
|
|
||||||
registrant_verified: { value: 'yes' }
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
||||||
if domain_params[:reserved_pw].present?
|
if domain_params[:reserved_pw].present?
|
||||||
custom_params[:_anonymus] << { reserved: { pw: { value: domain_params[:reserved_pw] } } }
|
custom_params[:_anonymus] << { reserved: { pw: { value: domain_params[:reserved_pw] } } }
|
||||||
end
|
end
|
||||||
|
@ -223,6 +217,11 @@ module Depp
|
||||||
chg = [{ registrant: { value: domain_params[:registrant] } }]
|
chg = [{ registrant: { value: domain_params[:registrant] } }]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if domain_params[:verified].present?
|
||||||
|
chg.push({ registrant_verified: 'yes'}) if chg.present?
|
||||||
|
chg = [{ registrant_verified: 'yes'}] if chg.nil?
|
||||||
|
end
|
||||||
|
|
||||||
add_arr = nil if add_arr.none?
|
add_arr = nil if add_arr.none?
|
||||||
rem_arr = nil if rem_arr.none?
|
rem_arr = nil if rem_arr.none?
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue