@5minds/node-red-contrib-processcube 1.3.0-feature-92414d-m21x3yqt → 1.3.1-feature-1ab585-m21yvqst
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/wait-for-usertask.js +3 -3
package/package.json
CHANGED
package/wait-for-usertask.js
CHANGED
@@ -3,12 +3,12 @@ module.exports = function (RED) {
|
|
3
3
|
RED.nodes.createNode(this, config);
|
4
4
|
var node = this;
|
5
5
|
|
6
|
-
|
6
|
+
node.engine = RED.nodes.getNode(config.engine);
|
7
7
|
|
8
|
-
const client = engine.engineClient;
|
8
|
+
const client = node.engine.engineClient;
|
9
9
|
|
10
10
|
let subscription = null;
|
11
|
-
let currentIdentity = engine.identity;
|
11
|
+
let currentIdentity = node.engine.identity;
|
12
12
|
let subscribe = null;
|
13
13
|
|
14
14
|
node.on('input', async function (msg) {
|