chore: Use agent partial instead of user in conversation API (#1333)
This commit is contained in:
parent
f11d7fe992
commit
3bb2d27646
@ -5,7 +5,7 @@ json.meta do
|
||||
json.channel conversation.inbox.try(:channel_type)
|
||||
if conversation.assignee
|
||||
json.assignee do
|
||||
json.partial! 'api/v1/models/user.json.jbuilder', resource: conversation.assignee
|
||||
json.partial! 'api/v1/models/agent.json.jbuilder', resource: conversation.assignee
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user