diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-07 17:07:59 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-07 17:07:59 +0700 |
| commit | f2e11c985f467cfe28b6f4c8c9ae9c7fabf85d94 (patch) | |
| tree | 7d62919bc4e61cfc7639e2f572852c61da9df300 /src/pages/api/shop | |
| parent | 0fc1ee076d3a59b406f79716c343f15301c1066a (diff) | |
<iman> delete console log
Diffstat (limited to 'src/pages/api/shop')
| -rw-r--r-- | src/pages/api/shop/search.js | 2 |
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, |
