get rd notification done

This commit is contained in:
ROSHAN GARG 2024-10-09 14:11:53 +05:30
parent 7875bb31ba
commit 9ebd82983c

View File

@ -3,6 +3,7 @@ import { isAuthenticatedSalesCoOrdinator } from "../../middlewares/SalesCoOrdina
import { getNotification } from "./notificationController.js";
import { isAuthenticatedTerritoryManager } from "../../middlewares/TerritoryManagerAuth.js";
import { isAuthenticatedUser } from "../../middlewares/auth.js";
import { isAuthenticatedRD } from "../../middlewares/rdAuth.js";
const router = express.Router();
@ -23,5 +24,6 @@ router
.get(isAuthenticatedTerritoryManager, getNotification);
router.route("/get-notification-pd").get(isAuthenticatedUser, getNotification);
router.route("/get-notification-rd").get(isAuthenticatedRD, getNotification);
export default router;