You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
339 B
9 lines
339 B
9 months ago
|
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;
|