diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2025-01-22 16:32:14 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2025-01-22 16:32:14 +0700 |
| commit | dd66804b05166ad6bb71bf54fe3374d9897fee86 (patch) | |
| tree | 19b8a314a067e65ab82f6a04fd8005c2e718ee39 /src/lib/merchant/api | |
| parent | 4a23d0c7c880b67d571ca34efe93cbf2c1bba721 (diff) | |
<iman> handle approce atau review merchant
Diffstat (limited to 'src/lib/merchant/api')
| -rw-r--r-- | src/lib/merchant/api/getMerchantProgresApi.js | 10 |
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; |
