diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-07 09:46:41 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-05-07 09:46:41 +0700 |
| commit | d48f8943b87178ccc653ae1d334b3780c5a23a31 (patch) | |
| tree | 40fbd0184ae2b278f21a07039b0d152479cf9ff8 /src/lib/flashSale/api/flashSaleApi.js | |
| parent | 166191e8f7335810cd0073b9aa2436a908a21d34 (diff) | |
| parent | 5c8a5df24a9758f3b3a6366d326f61c2c6a13c42 (diff) | |
Merge branch 'new-release' of https://bitbucket.org/altafixco/next-indoteknik into feat_voucher-category
Diffstat (limited to 'src/lib/flashSale/api/flashSaleApi.js')
| -rw-r--r-- | src/lib/flashSale/api/flashSaleApi.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/flashSale/api/flashSaleApi.js b/src/lib/flashSale/api/flashSaleApi.js index 115b07dc..410b720c 100644 --- a/src/lib/flashSale/api/flashSaleApi.js +++ b/src/lib/flashSale/api/flashSaleApi.js @@ -1,8 +1,9 @@ import odooApi from '@/core/api/odooApi' -const flashSaleApi = async () => { - const flashSale = await odooApi('GET', '/api/v1/flashsale/header') +const flashSaleApi = async ({isShow = true}) => { + const flashSale = await odooApi('GET', '/api/v1/flashsale/header?is_show_program='+isShow) return flashSale } export default flashSaleApi +
\ No newline at end of file |
