orderiom-api-package 0.4.106 → 0.4.107

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.106",
3
+ "version": "0.4.107",
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",
@@ -602,11 +602,11 @@ const actions = {
602
602
  result[element[0]] = element[1];
603
603
  return result;
604
604
  }, {}),
605
+ }).then(() => {
606
+ commit("product/SetShoppingCart", [], {root: true});
607
+ commit("product/setBasketInfo", {}, {root: true});
608
+ commit("product/setDeliveryTime", "", {root: true});
605
609
  });
606
-
607
- commit("product/SetShoppingCart", [], {root: true});
608
- commit("product/setBasketInfo", {}, {root: true});
609
- commit("product/setDeliveryTime", "", {root: true});
610
610
  }).catch(error => {
611
611
  const status = error.response ? error.response.status : null;
612
612
  if (status === 422) {