From 18bc4e8009fda61b26491c73323dd48881998de5 Mon Sep 17 00:00:00 2001 From: sayliraut Date: Thu, 13 Jun 2024 19:13:32 +0530 Subject: [PATCH] change --- app/Services/APIs/CustomerAPIs/CMSApiServices.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/Services/APIs/CustomerAPIs/CMSApiServices.php b/app/Services/APIs/CustomerAPIs/CMSApiServices.php index 5ddaaa0..4b71240 100644 --- a/app/Services/APIs/CustomerAPIs/CMSApiServices.php +++ b/app/Services/APIs/CustomerAPIs/CMSApiServices.php @@ -39,19 +39,11 @@ class CMSApiServices $data['customer'] = Aboutus::select('id', 'thumbnail_image', 'description') ->where('category_xid', '1') ->get() - ->map(function ($item) { - $item['description'] = strip_tags($item['description']); - return $item; - }) ->toArray(); $data['restaurant'] = Aboutus::select('id', 'thumbnail_image', 'description') ->where('category_xid', '2') ->get() - ->map(function ($item) { - $item['description'] = strip_tags($item['description']); - return $item; - }) ->toArray(); foreach ($data['customer'] as $k => $val) { $data['customer'][$k]['thumbnail_image'] = ListingImageUrl('about_images', $val['thumbnail_image']);