diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2024-07-11 08:38:37 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2024-07-11 08:38:37 +0000 |
| commit | de1bb091b148aa5ef2d5a168e19f1c2dac9e67b0 (patch) | |
| tree | 1282a5abf21e8539df499d8172c1786ad413e9cc /src-migrate/services | |
| parent | 0aa235cb03e92209d2bcbda8eda4c33d35e62e13 (diff) | |
| parent | 46769b859bb56807d47053c3b99810455db12803 (diff) | |
Merged in Feature/all-promotion (pull request #159)
Feature/all promotion
Diffstat (limited to 'src-migrate/services')
| -rw-r--r-- | src-migrate/services/voucher.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-migrate/services/voucher.ts b/src-migrate/services/voucher.ts index 447b448e..13d9e2c0 100644 --- a/src-migrate/services/voucher.ts +++ b/src-migrate/services/voucher.ts @@ -1,7 +1,7 @@ import odooApi from '~/libs/odooApi'; import { IVoucher } from '~/types/voucher'; -export const getVoucher = async (): Promise<IVoucher[]> => { +export const getVoucherAll = async (): Promise<IVoucher[]> => { const url = `/api/v1/voucher`; return await odooApi('GET', url); |
