const express = require("express"); const route = express.Router(); const controller = require("../Controller/Supplier"); const { protectAtlogin, protect } = require("../Middleware/auth"); route.route('/').get(protect, controller.getAllSupplier) // route.route('/id').post(protect, controller.getSubscriptionByID) module.exports = route;