From 22fa115b4ce61884ad2629fbbb5ac17c3a52631f Mon Sep 17 00:00:00 2001 From: Sibunnayak Date: Wed, 27 Mar 2024 12:19:46 +0530 Subject: [PATCH] updated testimonial get all route --- resources/Testimonials/TestimonialRoute.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/Testimonials/TestimonialRoute.js b/resources/Testimonials/TestimonialRoute.js index 6e80825..9dda39f 100644 --- a/resources/Testimonials/TestimonialRoute.js +++ b/resources/Testimonials/TestimonialRoute.js @@ -14,7 +14,7 @@ const router = express.Router(); router.route("/new").post(isAuthenticatedUser, AddNewTestimonial); router .route("/getAll") - .get(isAuthenticatedUser, authorizeRoles("admin"), FindAllTestimonial); + .get(FindAllTestimonial); router.route("/getOne/:id").get(isAuthenticatedUser, FindOneTestimonial); router .route("/delete/:id")