Allow env var access to context

This commit is contained in:
Nick O'Leary
2025-01-17 16:45:44 +00:00
parent 804551000a
commit e2981f2970
3 changed files with 34 additions and 1 deletions

View File

@@ -719,6 +719,14 @@ class Flow {
});
}
getContext(scope) {
if (scope === 'flow') {
return this.context
} else if (scope === 'global') {
return context.get('global')
}
}
dump() {
console.log("==================")
console.log(this.TYPE, this.id);