Chatwoot/app/views/api/v1/contacts/show.json.jbuilder
Pranav Raj S 0b31e14132
Feature: Add online status to each user (#452)
* Feature: Add online status to each user
* Add OnlineStatusable, add availability status to thumbnail
2020-02-02 22:49:16 +05:45

8 lines
231 B
Ruby

json.payload do
json.availability_status @contact.availability_status
json.email @contact.email
json.id @contact.id
json.name @contact.name
json.phone_number @contact.phone_number
json.thumbnail @contact.avatar_url
end