orderiom-api-package 0.3.39 → 0.3.40

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.39",
3
+ "version": "0.3.40",
4
4
  "description": "This package will install all necessary API calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -509,7 +509,7 @@ const actions = {
509
509
  },
510
510
  updatePaymentStatus({ dispatch, commit }, data) {
511
511
  return $http
512
- .get(`api/payment/update`, { params: { paymentId: data.paymentId } })
512
+ .get(`api/payment/update`, { params: { paymentId: data.paymentId ,status:data.status} })
513
513
  .then((res) => {
514
514
  const status = res.data.data.status;
515
515
  commit('setpaymentStatus', status)