added admin setup

This commit is contained in:
2025-10-09 00:09:20 +02:00
parent ceb7058d0b
commit 79b3658c5e
22 changed files with 1168 additions and 3353 deletions

View File

@@ -1,13 +1,13 @@
// backend/src/routes/shiftPlans.ts
import express from 'express';
import { authMiddleware, requireRole } from '../middleware/auth';
import { authMiddleware, requireRole } from '../middleware/auth.js';
import {
getShiftPlans,
getShiftPlan,
createShiftPlan,
updateShiftPlan,
deleteShiftPlan
} from '../controllers/shiftPlanController';
} from '../controllers/shiftPlanController.js';
const router = express.Router();