@edgeiq/edgeiq-api-js 1.2.1 → 1.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.
@@ -284,7 +284,8 @@ exports.DiscoveredDevices = (function (_super) {
284
284
  this.logAction("Promoting discovered devices in bulk");
285
285
  axios = __1.EdgeIQAPI.getAxios();
286
286
  return [4, axios.post(constants_1.Endpoints.discoveredDevice + "/bulk_promote", {
287
- data: { ids: ids, device_type_id: deviceTypeId },
287
+ ids: ids,
288
+ device_type_id: deviceTypeId,
288
289
  })];
289
290
  case 1:
290
291
  result = _a.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgeiq/edgeiq-api-js",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "author": "EdgeIQ",
5
5
  "license": "ISC",
6
6
  "description": "This project presents EdgeIQ API SDK.",