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

Fixup merge error

This commit is contained in:
Nick O'Leary 2020-09-21 14:43:03 +01:00
parent 6f25337b99
commit 460e1f5563
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -88,7 +88,7 @@ var api = module.exports = {
return reject(err);
}
}
apiPromise = runtime.nodes.setFlows(flows.flows,flows.credentials,deploymentType,null,null,opts.user);
apiPromise = runtime.flows.setFlows(flows.flows,flows.credentials,deploymentType,null,null,opts.user);
}
apiPromise.then(function(flowId) {
return resolve({rev:flowId});