From dd66804b05166ad6bb71bf54fe3374d9897fee86 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Wed, 22 Jan 2025 16:32:14 +0700 Subject: handle approce atau review merchant --- src/lib/merchant/api/getMerchantProgresApi.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/lib/merchant/api/getMerchantProgresApi.js (limited to 'src/lib') diff --git a/src/lib/merchant/api/getMerchantProgresApi.js b/src/lib/merchant/api/getMerchantProgresApi.js new file mode 100644 index 00000000..d356ad78 --- /dev/null +++ b/src/lib/merchant/api/getMerchantProgresApi.js @@ -0,0 +1,10 @@ +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/check-merchant/${auth.partnerId}`); + return lead; +}; + +export default createMerchantApi; -- cgit v1.2.3