do not create booking reservation for non existing reservation in ORD

This commit is contained in:
Bilal Catic
2020-01-15 04:27:16 +01:00
parent 55086fb54b
commit 45258334c1

View File

@@ -111,7 +111,7 @@ const fetchAllBookings = () => {
// console.log('End : ', endMoment.clone().tz(fullBookingEntry.timezone).format('DD.MM. HH:mm'), '[', endMoment.toISOString(), ']');
// console.log('Fees : ');
if (startMoment && endMoment){
if (firstFee && startMoment && endMoment){
cleanedBookingReservations.push({
reservationId: fullBookingEntry['_id'],
memberId: fullBookingEntry.member,