const express = require("express");
const { createWarehouse, getWarehouses } = require("../controllers/warehouseController");
const requireAuth = require("../middleware/authMiddleware");

const router = express.Router();

router.post("/", requireAuth, createWarehouse);
router.get("/", requireAuth, getWarehouses);

module.exports = router;
