const express = require('express');
const { getOnLeaveByDepartment } = require('../controllers/reportController');
const { protect, admin } = require('../middleware/auth');

const router = express.Router();

router.get('/on-leave-by-department', protect, admin, getOnLeaveByDepartment);

module.exports = router;
