From 85e27d488cf57827fb514f478384841d9ef7c9a8 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 7 Jul 2023 15:10:20 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(utils.ts):=20fix=20a=20synta?= =?UTF-8?q?x=20error=20in=20the=20buildInputs=20function=20The=20syntax=20?= =?UTF-8?q?error=20was=20caused=20by=20a=20missing=20quotation=20mark=20in?= =?UTF-8?q?=20the=20default=20value=20of=20the=20JSON=20string.=20The=20fi?= =?UTF-8?q?x=20adds=20the=20missing=20quotation=20mark=20to=20ensure=20the?= =?UTF-8?q?=20JSON=20string=20is=20valid.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/utils.ts b/src/frontend/src/utils.ts index 7626a7056..f74f0d584 100644 --- a/src/frontend/src/utils.ts +++ b/src/frontend/src/utils.ts @@ -911,7 +911,7 @@ export function buildInputs(tabsState, id) { tabsState[id].formKeysData.input_keys && Object.keys(tabsState[id].formKeysData.input_keys).length > 0 ? JSON.stringify(tabsState[id].formKeysData.input_keys) - : '{"input": message}'; + : '{"input": "message"}'; } export function buildTweaks(flow) {