Chatwoot/app/views/api/v1/accounts/inbox_members/show.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

5 lines
129 B
Ruby

json.payload do
json.array! @agents do |agent|
json.partial! 'api/v1/models/user.json.jbuilder', resource: agent
end
end