summaryrefslogtreecommitdiff
path: root/src/pages/api/flashsale-header.js
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-05-27 10:32:45 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-05-27 10:32:45 +0700
commit62d2edfa5ae62cd8faa2d0322ddfd5dfa6ad2d2e (patch)
treed6cceab24bd7f7c4dbfc4c0ff3ef3c932e0d9b14 /src/pages/api/flashsale-header.js
parent6499f025995f13fcf32b2b5f79c8ee14585668fc (diff)
parentfd867a90e22fb2fc2fb16237165796ebe0cabab0 (diff)
<hafid> merge repeat order & new-release
Diffstat (limited to 'src/pages/api/flashsale-header.js')
-rw-r--r--src/pages/api/flashsale-header.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/api/flashsale-header.js b/src/pages/api/flashsale-header.js
index 578801ae..916a9cd2 100644
--- a/src/pages/api/flashsale-header.js
+++ b/src/pages/api/flashsale-header.js
@@ -35,7 +35,7 @@ export default async function handler(req, res) {
}
return res.status(200).json({ data });
} else {
- const flashSale = await odooApi('GET', `/api/v1/flashsale/header`);
+ const flashSale = await odooApi('GET', `/api/v1/flashsale/header?is_show_program=true`);
if (flashSale.length === 0) {
return res.status(200).json({ data: [] });
} else {