mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
02510efda1
commit
496b5a092f
@ -117,8 +117,8 @@ class Subflow extends Flow {
|
|||||||
this.node_map = node_map;
|
this.node_map = node_map;
|
||||||
this.path = parent.path+"/"+(subflowInstance._alias||subflowInstance.id);
|
this.path = parent.path+"/"+(subflowInstance._alias||subflowInstance.id);
|
||||||
|
|
||||||
this.templateCredentials = credentials.get(subflowDef.id);
|
this.templateCredentials = credentials.get(subflowDef.id) || {};
|
||||||
this.instanceCredentials = credentials.get(this.id);
|
this.instanceCredentials = credentials.get(this.id) || {};
|
||||||
|
|
||||||
var env = [];
|
var env = [];
|
||||||
if (this.subflowDef.env) {
|
if (this.subflowDef.env) {
|
||||||
|
Loading…
Reference in New Issue
Block a user