1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Merge pull request #4362 from node-red/4342-subflow-err

Handle credential env var evaluation when no value set
This commit is contained in:
Nick O'Leary 2023-09-25 18:20:28 +01:00 committed by GitHub
commit ee48a2f2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,7 @@ function mapEnvVarProperties(obj,prop,flow,config) {
} }
async function evaluateEnvProperties(flow, env, credentials) { async function evaluateEnvProperties(flow, env, credentials) {
credentials = credentials || {}
const pendingEvaluations = [] const pendingEvaluations = []
const evaluatedEnv = {} const evaluatedEnv = {}
const envTypes = [] const envTypes = []