🐛 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:
parent
0c3517149d
commit
85e27d488c
1 changed files with 1 additions and 1 deletions
|
|
@ -911,7 +911,7 @@ export function buildInputs(tabsState, id) {
|
||||||
tabsState[id].formKeysData.input_keys &&
|
tabsState[id].formKeysData.input_keys &&
|
||||||
Object.keys(tabsState[id].formKeysData.input_keys).length > 0
|
Object.keys(tabsState[id].formKeysData.input_keys).length > 0
|
||||||
? JSON.stringify(tabsState[id].formKeysData.input_keys)
|
? JSON.stringify(tabsState[id].formKeysData.input_keys)
|
||||||
: '{"input": message}';
|
: '{"input": "message"}';
|
||||||
}
|
}
|
||||||
|
|
||||||
export function buildTweaks(flow) {
|
export function buildTweaks(flow) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue