rotacloud 2.0.2 → 2.0.3

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/dist/ops.js CHANGED
@@ -86,7 +86,7 @@ function deleteBatchOp(ctx, ids) {
86
86
  ...ctx.request,
87
87
  method: 'DELETE',
88
88
  url: `${ctx.service.endpointVersion}/${ctx.service.endpoint}`,
89
- data: ids,
89
+ data: { ids },
90
90
  };
91
91
  }
92
92
  /** Operation for listing all entities on a v1 endpoint for a given query by
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rotacloud",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "The RotaCloud SDK for the RotaCloud API",
5
5
  "type": "module",
6
6
  "engines": {
package/src/ops.ts CHANGED
@@ -273,7 +273,7 @@ function deleteBatchOp(ctx: OperationContext, ids: number[]): RequestConfig<unkn
273
273
  ...ctx.request,
274
274
  method: 'DELETE',
275
275
  url: `${ctx.service.endpointVersion}/${ctx.service.endpoint}`,
276
- data: ids,
276
+ data: { ids },
277
277
  };
278
278
  }
279
279