orderiom-api-package
Advanced tools
Comparing version 0.2.36 to 0.2.37
{ | ||
"name": "orderiom-api-package", | ||
"version": "0.2.36", | ||
"version": "0.2.37", | ||
"description": "this package will install all neccessary api calls for every orderiom restaurant", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -459,3 +459,3 @@ import axios from "axios"; | ||
if(res.data.message.type !== 'success'){ | ||
return { type: 'error', msg: 'Could not update delivery type' } | ||
return { type: 'error', msg: 'There was an error in updating the delivery type' } | ||
} | ||
@@ -468,3 +468,3 @@ | ||
msg: !result ? | ||
'Could not get basket info' | ||
'There was an error in fetching the basket info' | ||
: | ||
@@ -478,3 +478,3 @@ rootState.orderiomApiPackage.product.ShoppingCart.length < shoppingCartItems ? | ||
console.error(err); | ||
return { type: 'error', msg: 'Could not update delivery type' } | ||
return { type: 'error', msg: 'There was an error in updating the delivery type' } | ||
}).finally(() => { | ||
@@ -481,0 +481,0 @@ commit('finishChangingDeliveryType'); |
@@ -297,3 +297,3 @@ import axios from "axios"; | ||
type: 'error', | ||
msg: 'Could not fetch blogs', | ||
msg: 'There was an error in fetching the blogs', | ||
tagName: '' | ||
@@ -300,0 +300,0 @@ } |
126087