import { Router } from "express";
import { getSettings, updateSystemSettings } from "../controllers/setting.controller.js";
import { authenticate } from "../middleware/auth.middleware.js";

const router = Router();
router.get("/", authenticate, getSettings);
router.post("/system", authenticate, updateSystemSettings);

export default router;
