summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-08-04 10:23:11 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-08-04 10:23:11 +0700
commit9010695979e4fb39a021901fa8b2b0be9efd3c77 (patch)
tree59ccde34be41f0ffdc8ce89eaf03f5e89037cee2 /src/api
parent510ead4e768e35d4130eed1ef7ea85fbf91e2e9c (diff)
parent47d81f5b23a96611db07f92203d03fc761a68db9 (diff)
Merge branch 'master' into CR/flash_sale
Diffstat (limited to 'src/api')
-rw-r--r--src/api/productApi.js2
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
}