mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
REPP: Ditch _id from registrant / registrar attributes
This commit is contained in:
parent
83bfc493bb
commit
d6b266459b
5 changed files with 15 additions and 15 deletions
|
@ -49,7 +49,7 @@ module Actions
|
|||
|
||||
regt = Registrant.find_by(code: params[:registrant][:code])
|
||||
unless regt
|
||||
domain.add_epp_error('2303', 'registrant', params[:registrant_id], %i[registrant not_found])
|
||||
domain.add_epp_error('2303', 'registrant', params[:registrant], %i[registrant not_found])
|
||||
return
|
||||
end
|
||||
|
||||
|
@ -234,7 +234,7 @@ module Actions
|
|||
def ask_registrant_verification
|
||||
if verify_registrant_change? && !bypass_verify &&
|
||||
Setting.request_confirmation_on_registrant_change_enabled
|
||||
domain.registrant_verification_asked!(params, params[:registrar_id])
|
||||
domain.registrant_verification_asked!(params, params[:registrar])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue