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}`