diff options
Diffstat (limited to 'src/lib/merchant/api/getMerchantProgresApi.js')
| -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; |
