blob: d356ad784791ff452692a4c1d15fe1cfa911a339 (
plain)
1
2
3
4
5
6
7
8
9
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;
|