fix fetching incidents for specific date in backend

This commit is contained in:
Bilal Catic
2019-06-18 10:32:17 +02:00
parent 1371ab0580
commit 16a62b35de
4 changed files with 54 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ router.post('/doorLock/upload', uploadDoorLockData);
router.get('/integration/mappings', getKnownOfficeResourceMappings);
router.post('/integration/mappings', addNewMapping);
router.get('/integration/report/allIncidents', getAllIncidents);
router.get('/integration/report/allIncidents/:startDate/:endDate', getAllIncidents);
router.get('/integration/report/unlockedIncidents', getUnlockedIncidents);
router.get('/integration/report/unscheduledIncidents', getUnscheduledIncidents);