Stop adding non existing bookings #83

Merged
bilal.catic merged 3 commits from stop-adding-non-existing-bookings into master 2020-01-15 19:31:18 +01:00
Showing only changes of commit 45258334c1 - Show all commits

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,