backendless 7.2.1 → 7.2.2

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.
@@ -83,7 +83,7 @@ var Automations = /*#__PURE__*/function () {
83
83
  flowName: flowName,
84
84
  triggerName: triggerName
85
85
  },
86
- data: data
86
+ data: data || {}
87
87
  }));
88
88
  case 7:
89
89
  case "end":
@@ -83,7 +83,7 @@ var Automations = /*#__PURE__*/function () {
83
83
  flowName: flowName,
84
84
  triggerName: triggerName
85
85
  },
86
- data: data
86
+ data: data || {}
87
87
  }));
88
88
  case 7:
89
89
  case "end":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backendless",
3
- "version": "7.2.1",
3
+ "version": "7.2.2",
4
4
  "description": "Backendless JavaScript SDK for Node.js and the browser",
5
5
  "browser": "dist/backendless.js",
6
6
  "main": "lib/index.js",
@@ -37,9 +37,9 @@ export default class Automations {
37
37
  }
38
38
 
39
39
  return this.app.request.post({
40
- url : `${this.app.urls.automationFlowTrigger()}/activate-by-name`,
40
+ url : `${this.app.urls.automationFlowTrigger()}/activate-by-name`,
41
41
  query: { flowName, triggerName },
42
- data,
42
+ data : data || {},
43
43
  })
44
44
  }
45
45
  }