Change used symbol for sibling parameter

This commit is contained in:
Jan Oberhauser 2021-05-14 18:20:21 -05:00
parent 1aa0a5cc8d
commit 05dc0c327e

View file

@ -113,7 +113,7 @@ export class WorkflowDataProxy {
name = name.toString(); name = name.toString();
let returnValue: INodeParameters | NodeParameterValue | NodeParameterValue[] | INodeParameters[]; let returnValue: INodeParameters | NodeParameterValue | NodeParameterValue[] | INodeParameters[];
if (name[0] === '/') { if (name[0] === '&') {
const key = name.slice(1); const key = name.slice(1);
if (!that.siblingParameters.hasOwnProperty(key)) { if (!that.siblingParameters.hasOwnProperty(key)) {
throw new Error(`Could not find sibling parameter "${key}" on node "${nodeName}"`); throw new Error(`Could not find sibling parameter "${key}" on node "${nodeName}"`);