summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-02 09:23:13 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-02 09:23:13 +0700
commit2376bb4ab8f791ce6b99e70478f792b525d4d5fe (patch)
tree362781e71c5cd166b81a5f6713b0c7f052104489 /src/api
parent622b27a302ba0736984d95beb761bf6a5f48614b (diff)
<iman> update fetch data promo
Diffstat (limited to 'src/api')
-rw-r--r--src/api/promoApi.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/api/promoApi.js b/src/api/promoApi.js
index f262db8d..3f85db8e 100644
--- a/src/api/promoApi.js
+++ b/src/api/promoApi.js
@@ -13,11 +13,11 @@ export const fetchPromoItems = async (type) => {
}
};
-export const fetchPromoItemsSolr = async (type) => {
+export const fetchPromoItemsSolr = async (type, start, rows) => {
// let query = type ? `type_value_s:${type}` : '*:*';
let sort ='sort=if(exists(sequence_i),0,1) asc, sequence_i asc, if(exists(total_qty_sold_f), total_qty_sold_f, -1) desc';
- let start = 0
- let rows = 100
+ // let start = 0
+ // let rows = 100
// let start = 0
// let rows = 10
try {