diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-08-04 06:41:13 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-08-04 06:41:13 +0000 |
| commit | 3e4551692d60f3399e6ddf59528725a63f578f57 (patch) | |
| tree | c277d619ddc0f8fd790bcad35ba1115c37859923 /src/api | |
| parent | 76b277555adb635d61c70b6c77293139b20105f3 (diff) | |
| parent | 9595223471946520f5c156e24eceb577fae4c901 (diff) | |
Merged in CR/flash_sale (pull request #36)
CR/flash sale
Diffstat (limited to 'src/api')
| -rw-r--r-- | src/api/productApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/productApi.js b/src/api/productApi.js index feb91257..009d95ef 100644 --- a/src/api/productApi.js +++ b/src/api/productApi.js @@ -3,7 +3,7 @@ import axios from 'axios' export const popularProductApi = () => { return async () => { const dataPopularProducts = await axios( - `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=*&page=1&orderBy=popular-weekly` + `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=*&page=1&orderBy=popular-weekly&priceFrom=1` ) return dataPopularProducts.data.response } |
