fix(users/company): Update user and companies endpoint to v1

This commit is contained in:
Josepablo C
2024-03-10 21:44:28 -06:00
parent 1f1401a6e5
commit f846580afd
4 changed files with 13 additions and 13 deletions

View File

@@ -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;