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

@@ -17,7 +17,7 @@ export default function useCompany() {
loading.value = true;
const companyId = auth.user.company;
console.log(companyId)
const resp = await getCompany(companyId);
const resp = await getCompany();
companyStore.company = resp;
company.value = resp;
loading.value = false;