summaryrefslogtreecommitdiff
path: root/src/api/productApi.js
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-09-01 09:36:52 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-09-01 09:36:52 +0700
commitdfdeedf7141c9191952bdb3005e2e91d2a495044 (patch)
tree2abb9a8090306791a76069baff6c91c5e151d3b5 /src/api/productApi.js
parent57540da51be35b2d0a90f1d64b097fc4da608a25 (diff)
parent7356bcc0d1b7bac8d05ac315fdcf2a46b3996e91 (diff)
Merge branch 'master' into Feature/google_sign_up
# Conflicts: # src/core/components/elements/Navbar/NavbarDesktop.jsx
Diffstat (limited to 'src/api/productApi.js')
-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 cca052f7..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`
+ `${process.env.NEXT_PUBLIC_SELF_HOST}/api/shop/search?q=*&page=1&orderBy=popular-weekly&priceFrom=1`
)
return dataPopularProducts.data.response
}