feat: Use display_name instead of name of the agent (#1097)
* feat: Use display_name instead of name of the agent
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
json.payload do
|
||||
json.array! @agents do |agent|
|
||||
json.user_id agent.id
|
||||
json.name agent.name
|
||||
json.partial! 'api/v1/models/user.json.jbuilder', resource: agent
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user