Fix bugs with dor lock charges
This commit is contained in:
@@ -116,10 +116,10 @@ const getFirstPreviousBooking = (reservation) => {
|
||||
|
||||
const getFirstReservationInBlock = (reservation) => {
|
||||
return new Promise ((resolve, reject) => {
|
||||
const {resourceId, memberId, start} = reservation;
|
||||
const { resourceId, memberId, start } = reservation;
|
||||
|
||||
const fromTimestamp = moment.utc(start).subtract(MAX_BACK_TO_BACK_DIFFERENCE).toISOString();
|
||||
const toTimestamp = reservation.end;
|
||||
const toTimestamp = start;
|
||||
|
||||
const filters = {
|
||||
resourceId,
|
||||
|
||||
Reference in New Issue
Block a user