summaryrefslogtreecommitdiff
path: root/src/pages/api
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-07 17:07:59 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-07 17:07:59 +0700
commitf2e11c985f467cfe28b6f4c8c9ae9c7fabf85d94 (patch)
tree7d62919bc4e61cfc7639e2f572852c61da9df300 /src/pages/api
parent0fc1ee076d3a59b406f79716c343f15301c1066a (diff)
<iman> delete console log
Diffstat (limited to 'src/pages/api')
-rw-r--r--src/pages/api/shop/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/api/shop/search.js b/src/pages/api/shop/search.js
index 8dc72559..87d7c580 100644
--- a/src/pages/api/shop/search.js
+++ b/src/pages/api/shop/search.js
@@ -104,7 +104,7 @@ export default async function handler(req, res) {
let result = await axios(
process.env.SOLR_HOST + '/solr/product/select?' + parameter.join('&')
);
- console.log("result",result)
+
try {
result.data.response.products = productMappingSolr(
result.data.response.docs,