Chatwoot/app/views/api/v1/widget/inbox_members/index.json.jbuilder
Pranav Raj S 2b1d445003
feat: Use display_name instead of name of the agent (#1097)
* feat: Use display_name instead of name of the agent
2020-07-27 22:19:26 +05:30

8 lines
269 B
Ruby

json.payload do
json.array! @inbox_members do |inbox_member|
json.id inbox_member.user.id
json.name inbox_member.user.available_name
json.avatar_url inbox_member.user.avatar_url
json.availability_status inbox_member.user.availability_status
end
end