orderiom-api-package 0.2.48 → 0.2.49

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.2.48",
3
+ "version": "0.2.49",
4
4
  "description": "this package will install all neccessary api calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -478,10 +478,7 @@ const actions = {
478
478
  return { type: 'error', msg: 'There was an error in updating the delivery type' }
479
479
  }
480
480
 
481
- dispatch('getProducts', {
482
- restaurantId,
483
- category: state.selectedCategory || state.categories[0]
484
- });
481
+ dispatch('getCategories', restaurantId);
485
482
 
486
483
  const result = await dispatch("getBasket", restaurantId);
487
484