settings works for every user

This commit is contained in:
2025-10-13 14:34:45 +02:00
parent dec92daf7c
commit b6fd57dfc7
13 changed files with 505 additions and 456 deletions

View File

@@ -7,7 +7,7 @@ import {
createShiftPlan,
updateShiftPlan,
deleteShiftPlan,
getTemplates,
//getTemplates,
//createFromTemplate,
createFromPreset
} from '../controllers/shiftPlanController.js';
@@ -22,7 +22,7 @@ router.use(authMiddleware);
router.get('/', getShiftPlans);
// GET templates only
router.get('/templates', getTemplates);
//router.get('/templates', getTemplates);
// GET specific shift plan or template
router.get('/:id', getShiftPlan);