2020-07-21 06:45:24 +00:00
|
|
|
json.payload do
|
|
|
|
json.contact do
|
2020-08-19 17:55:55 +00:00
|
|
|
json.partial! 'api/v1/models/contact.json.jbuilder', resource: @contact, with_contact_inboxes: true
|
2020-07-21 06:45:24 +00:00
|
|
|
end
|
|
|
|
json.contact_inbox do
|
|
|
|
json.inbox @contact_inbox&.inbox
|
|
|
|
json.source_id @contact_inbox&.source_id
|
|
|
|
end
|
|
|
|
end
|