From 0ef109ffce4e20337fd9a9ec1777bf1173cfbd7e Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Tue, 3 Dec 2019 18:21:38 +0100 Subject: [PATCH] insert debugging logs, comment for now --- services/integration/checkBookingChange.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/integration/checkBookingChange.js b/services/integration/checkBookingChange.js index 9a46a39..ea53ae2 100644 --- a/services/integration/checkBookingChange.js +++ b/services/integration/checkBookingChange.js @@ -49,10 +49,13 @@ const checkBookingChanges = () => { Promise.all(asyncActions) .then((asyncActionResults) => { const changes = asyncActionResults[1]; + // console.log(changes); bulkWriteChanges(changes) .then(() => { getIncidentsFromChanges(changes) .then(({incidents, reservationsForAdditionalCheck}) => { + // console.log('=====INCIDENTS====='); + // console.log(incidents); bulkWriteBookingChangeIncidents(incidents) .then(() => { getReservationsIncidentsForRemoval(reservationsForAdditionalCheck)