diff options
| author | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-09 11:48:28 +0700 |
|---|---|---|
| committer | HATEC\SPVDEV001 <tri.susilo@altama.co.id> | 2023-10-09 11:48:28 +0700 |
| commit | 17649dd11eec4dc305b5de4d06c502a3a4680405 (patch) | |
| tree | d3e3bb8c8989987dbfe3f7c2aa33c9e67610ecd1 /src/lib/product/api | |
| parent | 07601d9d59b70cd1f200a9a6ebf1d01801990960 (diff) | |
call for price
Diffstat (limited to 'src/lib/product/api')
| -rw-r--r-- | src/lib/product/api/productSimilarApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/api/productSimilarApi.js b/src/lib/product/api/productSimilarApi.js index a008ce5d..ecd6724a 100644 --- a/src/lib/product/api/productSimilarApi.js +++ b/src/lib/product/api/productSimilarApi.js @@ -19,7 +19,7 @@ const productSimilarApi = async ({ query, source }) => { } } const dataProductSimilar = await axios( - `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=${query}&page=1&orderBy=popular-weekly&operation=OR` + `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=${query}&page=1&orderBy=popular-weekly&operation=OR&priceFrom=1` ) if (dataflashSale) { dataProductSimilar.data.response.products = [ |
