mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
add email field to contact serializer
This commit is contained in:
parent
0bc4f78d00
commit
28695f4c22
4 changed files with 28 additions and 9 deletions
|
@ -58,7 +58,7 @@ module Serializers
|
|||
|
||||
array_of_contacts = []
|
||||
contact_pool.map do |contact|
|
||||
array_of_contacts.push(name: contact.name, id: contact.uuid)
|
||||
array_of_contacts.push(name: contact.name, id: contact.uuid, email: contact.email)
|
||||
end
|
||||
|
||||
array_of_contacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue