mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
changed response data during updated the contact
This commit is contained in:
parent
d8283febc0
commit
bc54a3f70c
1 changed files with 1 additions and 2 deletions
|
@ -58,7 +58,6 @@ module Api
|
|||
!disclosed_attributes.include?('phone')
|
||||
|
||||
contact.disclosed_attributes = disclosed_attributes if disclosed_attributes
|
||||
|
||||
publishable = reparsed_request[:registrant_publishable]
|
||||
contact.registrant_publishable = publishable if publishable.in? [true, false]
|
||||
|
||||
|
@ -74,7 +73,7 @@ module Api
|
|||
|
||||
contact = update_and_notify!(contact)
|
||||
|
||||
render json: serialize_contact(contact, false)
|
||||
render json: serialize_contact(contact, true)
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue