import { Router } from "express";
import { getAuditLogs } from "../controllers/auditController.js";
import { requireAdmin } from "../middleware/auth.js";

const router = Router();

router.use(requireAdmin);
router.get("/", getAuditLogs);

export default router;
