summaryrefslogtreecommitdiff
path: root/src/lib/home/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/home/api')
-rw-r--r--src/lib/home/api/popularProductApi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/home/api/popularProductApi.js b/src/lib/home/api/popularProductApi.js
index 4bb5e580..37e4390e 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-weekly`
+ `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=*&page=1&orderBy=popular`
)
return dataPopularProducts.data.response
}