insert debugging logs, comment for now
This commit is contained in:
@@ -49,10 +49,13 @@ const checkBookingChanges = () => {
|
|||||||
Promise.all(asyncActions)
|
Promise.all(asyncActions)
|
||||||
.then((asyncActionResults) => {
|
.then((asyncActionResults) => {
|
||||||
const changes = asyncActionResults[1];
|
const changes = asyncActionResults[1];
|
||||||
|
// console.log(changes);
|
||||||
bulkWriteChanges(changes)
|
bulkWriteChanges(changes)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
getIncidentsFromChanges(changes)
|
getIncidentsFromChanges(changes)
|
||||||
.then(({incidents, reservationsForAdditionalCheck}) => {
|
.then(({incidents, reservationsForAdditionalCheck}) => {
|
||||||
|
// console.log('=====INCIDENTS=====');
|
||||||
|
// console.log(incidents);
|
||||||
bulkWriteBookingChangeIncidents(incidents)
|
bulkWriteBookingChangeIncidents(incidents)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
getReservationsIncidentsForRemoval(reservationsForAdditionalCheck)
|
getReservationsIncidentsForRemoval(reservationsForAdditionalCheck)
|
||||||
|
|||||||
Reference in New Issue
Block a user