mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
Merge branch '116209751-verified_option' into staging
This commit is contained in:
commit
b80734808b
4 changed files with 23 additions and 0 deletions
|
@ -187,6 +187,12 @@ module Depp
|
|||
}
|
||||
end
|
||||
|
||||
if domain_params[:verified].present?
|
||||
custom_params[:_anonymus] << {
|
||||
chg: { registrant_verified: 'yes' }
|
||||
}
|
||||
end
|
||||
|
||||
if domain_params[:reserved_pw].present?
|
||||
custom_params[:_anonymus] << { reserved: { pw: { value: domain_params[:reserved_pw] } } }
|
||||
end
|
||||
|
@ -217,6 +223,11 @@ module Depp
|
|||
chg = [{ registrant: { value: domain_params[:registrant] } }]
|
||||
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?
|
||||
rem_arr = nil if rem_arr.none?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue