chore: Add agent_last_seen_at
in conversation API (#4377)
This commit is contained in:
parent
73d8073530
commit
591d186d66
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ json.id resource.display_id
|
|||
json.inbox_id resource.inbox_id
|
||||
json.contact_last_seen_at resource.contact_last_seen_at.to_i
|
||||
json.status resource.status
|
||||
json.agent_last_seen_at resource.agent_last_seen_at.to_i
|
||||
json.messages do
|
||||
json.array! resource.messages do |message|
|
||||
json.partial! 'public/api/v1/models/message.json.jbuilder', resource: message
|
||||
|
|
Loading…
Reference in a new issue