mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
correct declaration of env object/dic/lookup
This commit is contained in:
@@ -119,7 +119,7 @@ class Subflow extends Flow {
|
|||||||
this.templateCredentials = credentials.get(subflowDef.id) || {};
|
this.templateCredentials = credentials.get(subflowDef.id) || {};
|
||||||
this.instanceCredentials = credentials.get(id) || {};
|
this.instanceCredentials = credentials.get(id) || {};
|
||||||
|
|
||||||
var env = [];
|
var env = {};
|
||||||
if (this.subflowDef.env) {
|
if (this.subflowDef.env) {
|
||||||
this.subflowDef.env.forEach(e => {
|
this.subflowDef.env.forEach(e => {
|
||||||
env[e.name] = e;
|
env[e.name] = e;
|
||||||
|
Reference in New Issue
Block a user