mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
settings works for every user
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user