diff options
| author | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-05-26 12:37:08 +0700 |
|---|---|---|
| committer | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-05-26 12:37:08 +0700 |
| commit | 2102158d77211991673aa7ed7cfacda69cceda2e (patch) | |
| tree | c788fe583c25d172df93841f403389d01d9198dd /src/lib/flashSale/api/flashSaleApi.js | |
| parent | ca05a70e98e9066882de6394ffbd89db7af2cb9d (diff) | |
| parent | 4ef92b4d9fea4fdd636d62194514b33ed3b3c387 (diff) | |
(andri) resolve conflict
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 |
