orderiom-api-package 0.3.50 → 0.3.51
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/order.js +2 -2
package/package.json
CHANGED
package/src/modules/order.js
CHANGED
|
@@ -921,10 +921,10 @@ const actions = {
|
|
|
921
921
|
})
|
|
922
922
|
.catch(commonErrorCallback());
|
|
923
923
|
},
|
|
924
|
-
updateTablePaymentStatus({ commit }, { tablePaymentId, status }) {
|
|
924
|
+
updateTablePaymentStatus({ commit }, { tablePaymentId, status , orderId }) {
|
|
925
925
|
return $http
|
|
926
926
|
.get(`/api/table-payments/update`, {
|
|
927
|
-
params: { tablePaymentId, status },
|
|
927
|
+
params: { tablePaymentId, status, orderId },
|
|
928
928
|
})
|
|
929
929
|
.then((res) => {
|
|
930
930
|
const status = res.data.data.status;
|