🐛 fix(utils.ts): fix a syntax error in the buildInputs function

The syntax error was caused by a missing quotation mark in the default value of the JSON string. The fix adds the missing quotation mark to ensure the JSON string is valid.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-07 15:10:20 -03:00
commit 85e27d488c

View file

@ -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) {