insert debugging logs, comment for now

This commit is contained in:
Bilal Catic
2019-12-03 18:21:38 +01:00
parent a14ca5aaa7
commit 0ef109ffce

View File

@@ -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)