"use strict";
const Router = require("@koa/router");
const controller = require("../controllers/backup");
const authorized = require("../../middleware/authorized");
const { BUILDER } = require("@devlego/backend-core/permissions");
const router = Router();
router.get("/api/backups/export", authorized(BUILDER), controller.exportAppDump);
module.exports = router;
