orderiom-api-package 0.4.110 → 0.4.112

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.4.110",
3
+ "version": "0.4.112",
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",
@@ -615,6 +615,7 @@ const actions = {
615
615
  const name = validation.name && validation.name.length ? validation.name[0] : 'N/A';
616
616
  const inStock = validation.inStock && validation.inStock.length ? validation.inStock[0] : 'N/A';
617
617
  const validTime = validation.validTime && validation.validTime.length ? validation.validTime[0] : 'N/A';
618
+ const deliveryType = validation.delivery_type && validation.delivery_type.length ? validation.delivery_type[0] : 'N/A';
618
619
  delete validation.name;
619
620
  delete validation.validTime;
620
621
 
@@ -624,6 +625,7 @@ const actions = {
624
625
  msg: messages.length ? messages[0][0] : '',
625
626
  name,
626
627
  validTime,
628
+ deliveryType,
627
629
  inStock
628
630
  }
629
631
  } else if ([401, 403, 404, 400].includes(status)) {
@@ -695,8 +697,6 @@ const actions = {
695
697
  .catch(commonErrorCallback());
696
698
  },
697
699
  updatePaymentStatus({ dispatch, commit }, data) {
698
- console.log('data')
699
- console.log(data)
700
700
  return $http
701
701
  .get(`api/payment/update`, {
702
702
  params: {