update
This commit is contained in:
@@ -58,6 +58,16 @@ router.delete(
|
||||
*/
|
||||
router.get('/groups', authenticate, eventsController.getAvailableGroups.bind(eventsController));
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Conflict check — must come before /:id
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* GET /api/events/conflicts?from=<ISO>&to=<ISO>&excludeId=<uuid>
|
||||
* Check for overlapping events in the given time range.
|
||||
*/
|
||||
router.get('/conflicts', authenticate, eventsController.checkConflicts.bind(eventsController));
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Calendar & upcoming — specific routes must come before /:id
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user