Registrar domain renew view update

This commit is contained in:
Priit Tark 2015-04-15 13:17:43 +03:00
parent b36315faf7
commit bf4d5c51ce
3 changed files with 9 additions and 9 deletions

View file

@ -73,7 +73,7 @@ module Depp
current_user.request(epp_xml.renew(
name: { value: params[:domain_name] },
curExpDate: { value: params[:cur_exp_date] },
period: { value: params[:period], attrs: { unit: params[:period_unit] } }
period: { value: params[:period].to_s[0], attrs: { unit: params[:period].to_s[1] } }
))
end