summaryrefslogtreecommitdiff
path: root/src/lib/merchant/api
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-22 16:32:14 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-22 16:32:14 +0700
commitdd66804b05166ad6bb71bf54fe3374d9897fee86 (patch)
tree19b8a314a067e65ab82f6a04fd8005c2e718ee39 /src/lib/merchant/api
parent4a23d0c7c880b67d571ca34efe93cbf2c1bba721 (diff)
<iman> handle approce atau review merchant
Diffstat (limited to 'src/lib/merchant/api')
-rw-r--r--src/lib/merchant/api/getMerchantProgresApi.js10
1 files changed, 10 insertions, 0 deletions
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;