orderiom-api-package 0.3.40 → 0.3.41
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 +1 -1
- package/src/modules/product.js +0 -2
package/package.json
CHANGED
package/src/modules/product.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {commonErrorCallback, calculateBasketIdParameter, updateBasket, restaurantIdEnv, $http} from '../common';
|
|
2
|
-
import Vue from 'vue';
|
|
3
2
|
|
|
4
3
|
const state = () => ({
|
|
5
4
|
selectedTime: null,
|
|
@@ -144,7 +143,6 @@ const mutations = {
|
|
|
144
143
|
}
|
|
145
144
|
};
|
|
146
145
|
const actions = {
|
|
147
|
-
// TODO: note the $http in loop
|
|
148
146
|
getCategories({ commit, dispatch }, restaurantId) {
|
|
149
147
|
return $http
|
|
150
148
|
.get("api/restaurant/category", { params: { restaurantId: restaurantId } })
|