diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-08-15 11:41:13 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-08-15 11:41:13 +0700 |
| commit | 8f310309ea811d7524f90ffc43db29c1dd291c1a (patch) | |
| tree | 1c77e3676eb22b9d9a992c4a54d02bbea7a795a2 /src/lib/flashSale | |
| parent | dec5fa876bffd4010febc7a16fa9ed20633cb42c (diff) | |
<iman> update limit penawaran terbatas to 25
Diffstat (limited to 'src/lib/flashSale')
| -rw-r--r-- | src/lib/flashSale/components/FlashSaleNonDisplay.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/flashSale/components/FlashSaleNonDisplay.jsx b/src/lib/flashSale/components/FlashSaleNonDisplay.jsx index 8dc15b05..3218ab35 100644 --- a/src/lib/flashSale/components/FlashSaleNonDisplay.jsx +++ b/src/lib/flashSale/components/FlashSaleNonDisplay.jsx @@ -52,7 +52,7 @@ const FlashSaleProduct = ({ flashSaleId }) => { useEffect(() => { const loadProducts = async () => { const dataProducts = await productSearchApi({ - query: `fq=-flashsale_id_i:${flashSaleId}&fq=flashsale_price_f:[1 TO *]&limit=500&orderBy=flashsale-discount-desc`, + query: `fq=-flashsale_id_i:${flashSaleId}&fq=flashsale_price_f:[1 TO *]&limit=25&orderBy=flashsale-discount-desc`, operation: 'AND', }); setProducts(dataProducts.response); |
