orderiom-api-package 0.4.58 → 0.4.60

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": "orderiom-api-package",
3
- "version": "0.4.58",
3
+ "version": "0.4.60",
4
4
  "description": "This package will install all necessary API calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -192,6 +192,7 @@ const actions = {
192
192
  .post("api/basket/add", {
193
193
  basketId,
194
194
  productId: data.productId,
195
+ basketProductId: data.basketProductId ? data.basketProductId : undefined,
195
196
  quantity: !data.quantity || data.quantity < 1 ? 1 : data.quantity,
196
197
  attributeItems: data.attributeItems.length
197
198
  ? data.attributeItems