load tracking public
This commit is contained in:
@@ -61,6 +61,18 @@ export const getCompanies = async(filter) => {
|
||||
}
|
||||
}
|
||||
|
||||
export const getLoadPublic = async(id) => {
|
||||
try {
|
||||
const endpoint = `/v1/public-load-tracking/${id}`;
|
||||
console.log(endpoint);
|
||||
const {data} = await api.get(endpoint);
|
||||
return data;
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export const getUsersCompany = async(filter) => {
|
||||
try {
|
||||
const endpoint = `/v1/users/find?${filter}`;
|
||||
|
||||
Reference in New Issue
Block a user