summaryrefslogtreecommitdiff
path: root/src-migrate/services/voucher.ts
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-11 14:09:29 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-11 14:09:29 +0700
commit061400a92ef10ac5f9eb1ac05a7b97bd4b3a0cd5 (patch)
treeaa23f7822edcef3c5fc6811cda6d5dde772df834 /src-migrate/services/voucher.ts
parent8e0eb734a98bc9af7cfa10b2946b78d9019f2c71 (diff)
<iman> update voucher default & coucher by id
Diffstat (limited to 'src-migrate/services/voucher.ts')
-rw-r--r--src-migrate/services/voucher.ts2
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);