116209751-params_change

This commit is contained in:
Stas 2016-04-08 15:54:46 +03:00
parent 442b2b5a71
commit 55af3c8326
2 changed files with 2 additions and 7 deletions

View file

@ -189,7 +189,7 @@ module Depp
if domain_params[:verified].present?
custom_params[:_anonymus] << {
chg: { registrant_verified: 'yes' }
registrant_verified: { value: 'yes' }
}
end
@ -223,11 +223,6 @@ 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?