orderiom-api-package
Advanced tools
Comparing version 0.4.72 to 0.4.73
{ | ||
"name": "orderiom-api-package", | ||
"version": "0.4.72", | ||
"version": "0.4.73", | ||
"description": "This package will install all necessary API calls for every orderiom restaurant", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -85,3 +85,3 @@ import { commonErrorCallback, $http } from '../common'; | ||
return $http.get('api/restaurant/restaurant-by-' + type, { params }).then(result => { | ||
commit('setRestaurantInfo', result.data.data[0]); | ||
result.data.data[0] && commit('setRestaurantInfo', result.data.data[0]); | ||
}).catch( | ||
@@ -88,0 +88,0 @@ commonErrorCallback() |
127998