summaryrefslogtreecommitdiff
path: root/src/lib/category/api/popularProduct.js
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-20 16:12:25 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-20 16:12:25 +0700
commit5c5eef9d62efd83f52f7c37dacb94d50ff7cb915 (patch)
tree7fdef4f99f0f42e2d99a40bfd5b81f1ca5f4ef30 /src/lib/category/api/popularProduct.js
parent004a9a644aed65d5c02263f19cce8b7c3000f354 (diff)
parent6d302bb338e26810a7f90326b84086217f1f4ae0 (diff)
Merge branch 'release' into Feature/category-management
Diffstat (limited to 'src/lib/category/api/popularProduct.js')
-rw-r--r--src/lib/category/api/popularProduct.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/category/api/popularProduct.js b/src/lib/category/api/popularProduct.js
index 146c9449..48f8a2a0 100644
--- a/src/lib/category/api/popularProduct.js
+++ b/src/lib/category/api/popularProduct.js
@@ -4,7 +4,6 @@ export const fetchPopulerProductSolr = async (category_id_ids) => {
try {
const queryParams = new URLSearchParams({ q: category_id_ids });
const response = await fetch(`/solr/product/select?${queryParams.toString()}&rows=2000&fl=manufacture_name_s,manufacture_id_i,id,display_name_s,qty_sold_f&${sort}`);
- console.log("response",response)
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}