orderiom-api-package 0.3.49 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orderiom-api-package",
3
- "version": "0.3.49",
3
+ "version": "0.3.51",
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",
@@ -601,7 +601,7 @@ const actions = {
601
601
  updatePaymentStatus({ dispatch, commit }, data) {
602
602
  return $http
603
603
  .get(`api/payment/update`, {
604
- params: { paymentId: data.paymentId, status: data.status },
604
+ params: { paymentId: data.paymentId, status: data.status , orderId:data.orderId },
605
605
  })
606
606
  .then((res) => {
607
607
  const status = res.data.data.status;
@@ -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;