From 9aa6c8180d395e31f3d655137e35498feeade0fc Mon Sep 17 00:00:00 2001 From: Sibunnayak Date: Tue, 26 Nov 2024 16:57:46 +0530 Subject: [PATCH] product pagination --- resources/Products/ProductController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/Products/ProductController.js b/resources/Products/ProductController.js index ed19ca9..55c2482 100644 --- a/resources/Products/ProductController.js +++ b/resources/Products/ProductController.js @@ -561,7 +561,7 @@ export const getAllProductUser = async (req, res) => { return res.status(200).json({ success: true, total_data: total, - total_pages: Math.ceil(total / PAGE_SIZE), + // total_pages: Math.ceil(total / PAGE_SIZE), products, }); } catch (error) {