orderiom-api-package
Advanced tools
Comparing version 0.4.81 to 0.4.82
{ | ||
"name": "orderiom-api-package", | ||
"version": "0.4.81", | ||
"version": "0.4.82", | ||
"description": "This package will install all necessary API calls for every orderiom restaurant", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -462,3 +462,3 @@ import {commonErrorCallback, calculateBasketIdParameter, updateBasket, formatDate, formatTime, deliveryCodeToName, weekdays, $http} from '../common'; | ||
data.forEach(({happyHour: happyHours, id: productId}) => { | ||
if(!happyHours?.length) return; | ||
if(!happyHours || !happyHours.length) return; | ||
const product = productList.find(product => product.id === productId); | ||
@@ -465,0 +465,0 @@ if(!product) { |
131889