mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
@@ -780,7 +780,7 @@ export const getVariableValue = (
|
|||||||
const variableValue = variableDict[path]
|
const variableValue = variableDict[path]
|
||||||
// Replace all occurrence
|
// Replace all occurrence
|
||||||
if (typeof variableValue === 'object') {
|
if (typeof variableValue === 'object') {
|
||||||
returnVal = returnVal.split(path).join(JSON.stringify(variableValue).replaceAll('"', '\\"').replaceAll('\\n', '\\\\n'))
|
returnVal = returnVal.split(path).join(JSON.stringify(JSON.stringify(variableValue)))
|
||||||
} else {
|
} else {
|
||||||
returnVal = returnVal.split(path).join(variableValue)
|
returnVal = returnVal.split(path).join(variableValue)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user