diff options
| author | trisusilo <tri.susilo@altama.co.id> | 2023-08-04 02:25:35 +0000 |
|---|---|---|
| committer | trisusilo <tri.susilo@altama.co.id> | 2023-08-04 02:25:35 +0000 |
| commit | 0534cef1ae61b7b6605010b915cefa9c4ea2ebc5 (patch) | |
| tree | c8b98fd307e98365e90311a65edcd0bdaa9eaf87 /src/lib/home/api | |
| parent | adae7d08d1f172c9927ebb9ed9e5247ef85690d4 (diff) | |
| parent | 7f5b0518474f702b68ca459e5cb531212504472d (diff) | |
Merged in CR/flash_sale (pull request #33)
CR/flash sale
Diffstat (limited to 'src/lib/home/api')
| -rw-r--r-- | src/lib/home/api/popularProductApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/home/api/popularProductApi.js b/src/lib/home/api/popularProductApi.js index 37e4390e..4bb5e580 100644 --- a/src/lib/home/api/popularProductApi.js +++ b/src/lib/home/api/popularProductApi.js @@ -2,7 +2,7 @@ import axios from 'axios' const popularProductApi = async () => { const dataPopularProducts = await axios( - `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=*&page=1&orderBy=popular` + `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=*&page=1&orderBy=popular-weekly` ) return dataPopularProducts.data.response } |
