Chatwoot/app/views/api/v1/models/_agent.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

9 lines
298 B
Ruby

json.account_id resource.account.id
json.availability_status resource.availability_status
json.confirmed resource.confirmed?
json.email resource.email
json.available_name resource.available_name
json.id resource.id
json.name resource.name
json.role resource.role
json.thumbnail resource.avatar_url