feat: Add API to get the active contacts (#1313)

This commit is contained in:
Sojan Jose
2020-10-05 23:30:27 +05:30
committed by GitHub
parent 11725de09a
commit 88b2469dc8
6 changed files with 57 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
json.payload do
json.array! @contacts do |contact|
json.partial! 'api/v1/models/contact.json.jbuilder', resource: contact, with_contact_inboxes: true
end
end