chore: Add agent_last_seen_at in conversation API (#4377)

This commit is contained in:
Muhsin Keloth 2022-04-04 18:23:38 +05:30 committed by GitHub
parent 73d8073530
commit 591d186d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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