chore: Replace content with outgoing_content in webhook data (#11829)

The API channels don't receive CSAT survey URLs in webhook payloads since `webhook_data` uses content instead of outgoing_content.
This commit is contained in:
Muhsin Keloth
2025-07-01 12:04:35 +05:30
committed by GitHub
parent d1c9af260c
commit 2573f37d90
2 changed files with 18 additions and 1 deletions

View File

@@ -168,7 +168,7 @@ class Message < ApplicationRecord
additional_attributes: additional_attributes,
content_attributes: content_attributes,
content_type: content_type,
content: content,
content: outgoing_content,
conversation: conversation.webhook_data,
created_at: created_at,
id: id,