Strory#118822101 - update how schema is generated

This commit is contained in:
Vladimir Krylov 2016-06-14 11:19:42 +03:00
parent f733180f7f
commit bfc47fa21e
2 changed files with 3 additions and 3 deletions

View file

@ -160,7 +160,7 @@ class Epp::Domain < Domain
code = registrant_frame.try(:text)
if code.present?
if action == 'chg' && registrant_change_prohibited?
add_epp_error('2304', nil, DomainStatus::SERVER_REGISTRANT_CHANGE_PROHIBITED, I18n.t(:object_status_prohibits_operation))
add_epp_error('2304', "status", DomainStatus::SERVER_REGISTRANT_CHANGE_PROHIBITED, I18n.t(:object_status_prohibits_operation))
end
regt = Registrant.find_by(code: code)
if regt