changes employee list api
This commit is contained in:
parent
983d8d6091
commit
e9fb15697a
@ -124,7 +124,7 @@ export const useEmployeesAllOrByProjectId = (projectId, showInactive) => {
|
||||
const res = await EmployeeRepository.getAllEmployeeList(showInactive);
|
||||
return res.data;
|
||||
} else {
|
||||
const res = await ProjectRepository.getEmployeesByProject(projectId);
|
||||
const res = await EmployeeRepository.getEmployeeListByproject(projectId);
|
||||
return res.data;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user