Fix repeated booking #72

Merged
bilal.catic merged 6 commits from fix-repeated-booking into master 2019-12-05 09:29:32 +01:00
Showing only changes of commit 166e2a0a9f - Show all commits

View File

@@ -359,7 +359,7 @@ const getLockEntryForReservation = (reservation, nextReservation) => {
const getEntriesBetween = (fromTimestamp, toTimestamp, resourceId) => {
return new Promise((resolve, reject) => {
if (!fromTimestamp || !toTimestamp || !resourceId){
if (!resourceId){
resolve([]);
}else {
const andTimestampFilters = [];