mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Nullify contact's uuid when transferring
It will be generated on DB level
This commit is contained in:
parent
fc3c70c5ee
commit
bf53ca5947
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ module Concerns::Contact::Transferable
|
|||
new_contact.regenerate_code
|
||||
new_contact.regenerate_auth_info
|
||||
new_contact.remove_address unless self.class.address_processing?
|
||||
new_contact.uuid = nil
|
||||
new_contact.save(validate: false)
|
||||
new_contact
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue