We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec2b7f9 + aa8396d commit 968cc25Copy full SHA for 968cc25
src/api/integrations/chatbot/chatwoot/services/chatwoot.service.ts
@@ -954,9 +954,10 @@ export class ChatwootService {
954
const replyToIds = await this.getReplyToIds(messageBody, instance);
955
956
if (replyToIds.in_reply_to || replyToIds.in_reply_to_external_id) {
957
- data.append('content_attributes', {
958
- ...replyToIds,
959
- });
+ const content = JSON.stringify({
+ ...replyToIds
+ })
960
+ data.append('content_attributes', content);
961
}
962
963
0 commit comments