From 1ce702b1a567a0bc5cbfd0e36f4ab254e5ad9bd4 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Wed, 23 Apr 2025 16:30:36 +0330 Subject: [PATCH] fix bug get danak services --- src/app/products/service/ProductService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/products/service/ProductService.ts b/src/app/products/service/ProductService.ts index 6d38b4c..abb3d8d 100644 --- a/src/app/products/service/ProductService.ts +++ b/src/app/products/service/ProductService.ts @@ -10,7 +10,7 @@ import { export const getServicesByCategory = async (categoryId?: string) => { let query = `?limit=50`; if (categoryId) { - query = `&categoryId=${categoryId}`; + query += `&categoryId=${categoryId}`; } const { data } = await axios.get( `/danak-services/public${query}`