import { Router } from "express";
import { downloadBackup } from "../controllers/backupController.js";
import { requireAdmin } from "../middleware/auth.js";

const router = Router();

router.use(requireAdmin);
router.get("/download", downloadBackup);

export default router;
