Skip to content

Commit

Permalink
update, i forgot to push
Browse files Browse the repository at this point in the history
  • Loading branch information
agonzalez22 committed Oct 18, 2024
1 parent 9ec808a commit ee6fbe8
Show file tree
Hide file tree
Showing 3 changed files with 26,799 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/apiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ export const updateApplicantResponses = (
export function getAllApplicants(
pagination: TablePaginationConfig,
filters: TableFilters,
sorter: TableSorter
sorter: TableSorter,
searchQuery?: string
): Promise<AxiosResponse<ApplicantsApiResponse>> {
return Axios.get<ApplicantsApiResponse>(`/api/v1/applicants`, {
params: {
page: pagination.current,
pageSize: pagination.pageSize,
filters,
sorter,
searchQuery,
},
});
}
Expand Down
1 change: 1 addition & 0 deletions common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ export type ApplicantsApiResponse = {
totalCount: number;
page: number;
pageSize: number;
searchQuery?: string;
};

export type SingleApplicantApiResponse = {
Expand Down
Loading

0 comments on commit ee6fbe8

Please sign in to comment.