mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Repp: Contact create: validate identifier
This commit is contained in:
parent
d4628d52ba
commit
01004b8ed4
5 changed files with 67 additions and 19 deletions
|
@ -25,7 +25,7 @@ module Epp
|
|||
@contact = Epp::Contact.new(params[:parsed_frame], current_user.registrar)
|
||||
collected_data = ::Deserializers::Xml::ContactCreate.new(params[:parsed_frame])
|
||||
|
||||
action = Actions::ContactCreate.new(@contact, collected_data.legal_document)
|
||||
action = Actions::ContactCreate.new(@contact, collected_data.legal_document, collected_data.ident)
|
||||
|
||||
if action.call
|
||||
if !address_processing? && address_given?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue