summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-10 16:40:01 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-10 16:40:01 +0700
commit32423bdb47714ebbc99a43a3152c011684d5d70a (patch)
tree7bfe39631a43576a76f8def25250a63b2b4fd894 /src/api
parenta8dcd4d3d14d9caf64063f3ec586125238727794 (diff)
<iman> update error code
Diffstat (limited to 'src/api')
-rw-r--r--src/api/promoApi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/promoApi.js b/src/api/promoApi.js
index 967aeab2..f262db8d 100644
--- a/src/api/promoApi.js
+++ b/src/api/promoApi.js
@@ -13,7 +13,7 @@ export const fetchPromoItems = async (type) => {
}
};
-export const fetchPromoItemsSolr = async (type, start, rows) => {
+export const fetchPromoItemsSolr = async (type) => {
// 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