orderiom-api-package 0.2.38 → 0.2.39

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.38",
3
+ "version": "0.2.39",
4
4
  "description": "this package will install all neccessary api calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -239,7 +239,7 @@ const actions = {
239
239
  };
240
240
  if(data.deliveryType) params.deliveryType = data.deliveryType;
241
241
 
242
- return axios.get("api/restaurant/products", params).then(res => {
242
+ return axios.get("api/restaurant/products", { params }).then(res => {
243
243
  let products = res.data.data;
244
244
  products.map(m => {
245
245
  if (state.ShoppingCart.find(