summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-17 15:38:45 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-17 15:38:45 +0700
commitbc7c0d1891db37ad314bd5016e19917e0f1e63be (patch)
tree7fcffb3cdf5d99092d0ce3ae68c9e628fff66573 /src
parent1750dfecfc0090df4c8165f7c45f31882f850160 (diff)
<iman> update error code
Diffstat (limited to 'src')
-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 {