From 5470ca15902ffb99c4fd59b6544244508f123df0 Mon Sep 17 00:00:00 2001 From: mdshamoon Date: Fri, 16 Jul 2021 15:17:33 +0530 Subject: [PATCH] updated quick reply body --- package.json | 2 +- src/components/flow/actions/sendinteractivemsg/helpers.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 5b78e749e..db37b43d7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@glific/flow-editor", "license": "AGPL-3.0", "repository": "git://github.com/glific/floweditor.git", - "version": "1.13.9-8", + "version": "1.13.9-9", "description": "'Standalone flow editing tool designed for use within the Glific suite of messaging tools'", "browser": "umd/flow-editor.min.js", "unpkg": "umd/flow-editor.min.js", diff --git a/src/components/flow/actions/sendinteractivemsg/helpers.tsx b/src/components/flow/actions/sendinteractivemsg/helpers.tsx index b16b7e421..f0dda5a48 100644 --- a/src/components/flow/actions/sendinteractivemsg/helpers.tsx +++ b/src/components/flow/actions/sendinteractivemsg/helpers.tsx @@ -60,7 +60,7 @@ export const getMsgBody = (message: any) => { ); } else if (message.type === 'quick_reply') { if (message.content.type === 'text') { - body = message.content.text; + body = message.content.caption; } else if (['image', 'video', 'file'].includes(message.content.type)) { body = (