Skip to content

Commit

Permalink
Update employee.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq authored Dec 2, 2023
1 parent d3c3652 commit 3fecfb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/web/app/services/client/api/employee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ export async function getWorkingEmployeesAPI(tenantId: string, organizationId: s
'where[organizationId]': organizationId,
'relations[0]': 'user'
};
const query = new URLSearchParams(params);
// return api.get<PaginationResponse<IWorkingEmployee>>('/employee/working');
const query = new URLSearchParams(params);

const endpoint = process.env.NEXT_PUBLIC_GAUZY_API_SERVER_URL
? `/employee/pagination?${query.toString()}`
Expand Down

0 comments on commit 3fecfb9

Please sign in to comment.