feat: apply delays

This commit is contained in:
cv
2021-05-06 14:02:56 +02:00
parent 50e2fd5695
commit 72b42c7eb8
7 changed files with 145 additions and 10 deletions
+3
View File
@@ -22,6 +22,9 @@ router.patch('/', eventsController.eventsPatch);
// create route between controller and '/events/reorder' endpoint
router.patch('/reorder/', eventsController.eventsReorder);
// create route between controller and '/events/applydelay/:eventId' endpoint
router.patch('/applydelay/:eventId', eventsController.eventsApplyDelay);
// create route between controller and '/events/:eventId' endpoint
router.delete('/:eventId', eventsController.eventsDelete);