@5minds/node-red-contrib-processcube 1.6.3-develop-18c9ac-m5pcxc5o → 1.6.4-develop-8a2d56-m5vhmmbw

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube",
3
- "version": "1.6.3-develop-18c9ac-m5pcxc5o",
3
+ "version": "1.6.4-develop-8a2d56-m5vhmmbw",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED nodes for ProcessCube",
6
6
  "scripts": {
@@ -7,7 +7,12 @@ module.exports = function (RED) {
7
7
  if (msg.payload.userTask) {
8
8
  const flowNodeInstanceId = msg.payload.userTask.flowNodeInstanceId;
9
9
 
10
- const userTaskResult = RED.util.evaluateNodeProperty(config.result, config.result_type, node, msg);
10
+ let userTaskResult = RED.util.evaluateNodeProperty(config.result, config.result_type, node, msg);
11
+
12
+ // remote msg and format from result
13
+ delete userTaskResult.format;
14
+ delete userTaskResult.msg;
15
+
11
16
 
12
17
  node.engine = RED.nodes.getNode(config.engine);
13
18