track room change for booking change incidents

This commit is contained in:
Bilal Catic
2019-07-09 15:05:36 +02:00
parent edefaf7cf9
commit ad9bdfa606
3 changed files with 9 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ const bulkWriteReservationsWithChangesTracking = (reservations) => {
const changedKeys = instance.changed();
const previous = instance.previous();
const lookupKeys = ['start', 'end'];
const lookupKeys = ['start', 'end', 'resourceId'];
let realChange = false;
lookupKeys.forEach((key) => {