From fd867a90e22fb2fc2fb16237165796ebe0cabab0 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Tue, 27 May 2025 08:29:22 +0700 Subject: off site merchant --- src/lib/merchant/api/getMerchantApi.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/lib/merchant/api/getMerchantApi.js') diff --git a/src/lib/merchant/api/getMerchantApi.js b/src/lib/merchant/api/getMerchantApi.js index a1a4f877..be27e947 100644 --- a/src/lib/merchant/api/getMerchantApi.js +++ b/src/lib/merchant/api/getMerchantApi.js @@ -1,13 +1,13 @@ -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 () => { - const auth = getAuth(); - const lead = await odooApi( - 'GET', - `/api/v1/detail-merchant/${auth.partnerId}` - ); - return lead; -}; +// const createMerchantApi = async () => { +// const auth = getAuth(); +// const lead = await odooApi( +// 'GET', +// `/api/v1/detail-merchant/${auth.partnerId}` +// ); +// return lead; +// }; -export default createMerchantApi; +// export default createMerchantApi; -- cgit v1.2.3