fix(users/company): Update user and companies endpoint to v1
This commit is contained in:
@@ -63,7 +63,7 @@ export const getCompanies = async(filter) => {
|
||||
|
||||
export const getUsersCompany = async(filter) => {
|
||||
try {
|
||||
const endpoint = `/v1/users?${filter}`;
|
||||
const endpoint = `/v1/users/find?${filter}`;
|
||||
// console.log({endpoint});
|
||||
const {data} = await api.get(endpoint);
|
||||
return data;
|
||||
|
||||
Reference in New Issue
Block a user