@5minds/node-red-contrib-processcube 0.5.3 → 0.5.5-develop-182b6c-lxryyk0h

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "0.5.3",
3
+ "version": "0.5.5-develop-182b6c-lxryyk0h",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "authors": [
package/usertask-input.js CHANGED
@@ -51,7 +51,7 @@ module.exports = function(RED) {
51
51
 
52
52
  console.log(`UserTaskInput query result: ${JSON.stringify(matchingFlowNodes)}`);
53
53
 
54
- if (config.force_send_array == false && matchingFlowNodes && matchingFlowNodes.userTasks && matchingFlowNodes.userTasks.length == 1) {
54
+ if (!config.force_send_array && matchingFlowNodes && matchingFlowNodes.userTasks && matchingFlowNodes.userTasks.length == 1) {
55
55
  userTask = matchingFlowNodes.userTasks[0];
56
56
 
57
57
  node.send({ payload: {userTask: userTask } });