mirror of https://github.com/node-red/node-red.git
correct declaration of env object/dic/lookup
parent
b102ef512e
commit
1cbd910e5d
|
@ -119,7 +119,7 @@ class Subflow extends Flow {
|
|||
this.templateCredentials = credentials.get(subflowDef.id) || {};
|
||||
this.instanceCredentials = credentials.get(id) || {};
|
||||
|
||||
var env = [];
|
||||
var env = {};
|
||||
if (this.subflowDef.env) {
|
||||
this.subflowDef.env.forEach(e => {
|
||||
env[e.name] = e;
|
||||
|
|
Loading…
Reference in New Issue