diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-05-27 08:29:22 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-05-27 08:29:22 +0700 |
| commit | fd867a90e22fb2fc2fb16237165796ebe0cabab0 (patch) | |
| tree | 2cc256e78224a72934f1de345b7dc7a76c4ba589 /src/lib/merchant/api/createMerchantApi.js | |
| parent | 3d91a6e1ac168d0749cd816c1ea99b44336ffa0c (diff) | |
<hafid> off site merchant
Diffstat (limited to 'src/lib/merchant/api/createMerchantApi.js')
| -rw-r--r-- | src/lib/merchant/api/createMerchantApi.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/lib/merchant/api/createMerchantApi.js b/src/lib/merchant/api/createMerchantApi.js index 4c4f96ba..878ab7c0 100644 --- a/src/lib/merchant/api/createMerchantApi.js +++ b/src/lib/merchant/api/createMerchantApi.js @@ -1,14 +1,14 @@ -import odooApi from '@/core/api/odooApi'; -import { getAuth } from '@/core/utils/auth'; +// import odooApi from '@/core/api/odooApi'; +// import { getAuth } from '@/core/utils/auth'; -const createMerchantApi = async ({ data }) => { - const auth = getAuth(); - const lead = await odooApi( - 'POST', - `/api/v1/merchant/${auth.partnerId}`, - data - ); - return lead; -}; +// const createMerchantApi = async ({ data }) => { +// const auth = getAuth(); +// const lead = await odooApi( +// 'POST', +// `/api/v1/merchant/${auth.partnerId}`, +// data +// ); +// return lead; +// }; -export default createMerchantApi; +// export default createMerchantApi; |
