chore: Add updated_at attribute to the conversation event (#10873)

This PR adds updated_at attribute to the conversation event.
This commit is contained in:
Pranav
2025-02-10 19:33:26 -08:00
committed by GitHub
parent d7c0507e33
commit 02000de905
4 changed files with 5 additions and 1 deletions

View File

@@ -538,6 +538,7 @@ RSpec.describe Conversation do
contact_last_seen_at: conversation.contact_last_seen_at.to_i,
agent_last_seen_at: conversation.agent_last_seen_at.to_i,
created_at: conversation.created_at.to_i,
updated_at: conversation.updated_at.to_i,
waiting_since: conversation.waiting_since.to_i,
priority: nil,
unread_count: 0

View File

@@ -31,6 +31,7 @@ RSpec.describe Conversations::EventDataPresenter do
contact_last_seen_at: conversation.contact_last_seen_at.to_i,
agent_last_seen_at: conversation.agent_last_seen_at.to_i,
created_at: conversation.created_at.to_i,
updated_at: conversation.updated_at.to_i,
waiting_since: conversation.waiting_since.to_i,
priority: nil,
unread_count: 0