mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
⚡ Change used symbol for sibling parameter
This commit is contained in:
parent
1aa0a5cc8d
commit
05dc0c327e
|
@ -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}"`);
|
||||||
|
|
Loading…
Reference in a new issue