mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
parent
923d2d5446
commit
0eca515c3d
2 changed files with 5 additions and 2 deletions
|
@ -26,7 +26,7 @@ module Repp
|
|||
if domain
|
||||
if domain.transfer_code == transfer_code
|
||||
domain.transfer(new_registrar)
|
||||
successful_domain_transfers << { type: 'domain_transfer' }
|
||||
successful_domain_transfers << { type: 'domain_transfer', attributes: { domain_name: domain.name } }
|
||||
else
|
||||
errors << { title: "#{domain_name} transfer code is wrong" }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue