mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #3310 from node-red/group-env-fix
Update Function to use correct api to access env vars
This commit is contained in:
commit
332b372e31
@ -234,8 +234,7 @@ module.exports = function(RED) {
|
|||||||
},
|
},
|
||||||
env: {
|
env: {
|
||||||
get: function(envVar) {
|
get: function(envVar) {
|
||||||
var flow = node._flow;
|
return RED.util.getSetting(node, envVar);
|
||||||
return flow.getSetting(envVar);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setTimeout: function () {
|
setTimeout: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user