import express from 'express';
import { authenticate } from '../middleware/authMiddleware.js';
import { authorize } from '../middleware/authorizationMiddleware.js';
import { getClubDashboard } from '../controllers/clubDashboardController.js';

const router = express.Router();

router.get('/:clubId', authenticate, authorize('members', 'read'), getClubDashboard);

export default router;
