summaryrefslogtreecommitdiff
path: root/src/pages/api/flashsale-header.js
diff options
context:
space:
mode:
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 {