Chatwoot/app/views/api/v1/accounts/contacts/search.json.jbuilder
Sojan Jose a6a62d92bf
chore: Add Additional Contact APIs (#1130)
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-08-10 12:15:29 +05:30

5 lines
138 B
Ruby

json.payload do
json.array! @contacts do |contact|
json.partial! 'api/v1/models/contact.json.jbuilder', resource: contact
end
end