diff --git a/resources/Testimonials/TestimonialController.js b/resources/Testimonials/TestimonialController.js index 31229d1..2268ecf 100644 --- a/resources/Testimonials/TestimonialController.js +++ b/resources/Testimonials/TestimonialController.js @@ -36,8 +36,6 @@ export const AddNewTestimonial = async (req, res) => { export const FindAllTestimonial = async (req, res) => { try { - if (!req?.user) return res.status(400).json({ message: "please login !" }); - // console.log(req?.user) const testimonial = await Testimonial.find().sort({ createdAt: -1 }); if (testimonial) {