const express = require("express");
const router = express.Router();
const { postLogo } = require("../controllers/logo.controller.js");

// Middleware to protect routes (assuming you have authentication middleware)
const { authenticate } = require("../middleware/login.middleware.js");

// POST: Upload logo
router.post("/upload", authenticate, postLogo);

// You can add more like:
// router.get("/", authenticate, getAllLogos);
// router.delete("/:id", authenticate, deleteLogo);
// router.put("/:id", authenticate, updateLogo);

module.exports = router;
