import { Router } from "express";

import { backupController } from "../controllers/backupController.js";
import { asyncHandler } from "../utils/asyncHandler.js";

const router = Router();

router.post("/", asyncHandler(backupController.exportDatabase));

export default router;
