diff --git a/frontend/components/interview/Board.tsx b/frontend/components/interview/Board.tsx index cbce2cf..a994693 100644 --- a/frontend/components/interview/Board.tsx +++ b/frontend/components/interview/Board.tsx @@ -40,7 +40,7 @@ const InterviewBoard = ({ generation }: InterviewBoardProps) => { queryFn: () => getInterviewRecordByPageWithOrder({ page: +pageIndex, - sortType: order, + order: order, year: generation, }), }); diff --git a/frontend/components/interview/PageNavbar.tsx b/frontend/components/interview/PageNavbar.tsx index 2e3fe17..5228fcf 100644 --- a/frontend/components/interview/PageNavbar.tsx +++ b/frontend/components/interview/PageNavbar.tsx @@ -33,7 +33,7 @@ const InterviewPageNavbar = ({ generation }: InterviewPageNavbarProps) => { () => getInterviewRecordByPageWithOrder({ page: +pageIndex, - sortType: order, + order: order, year: generation, }), { diff --git a/frontend/src/apis/interview/index.ts b/frontend/src/apis/interview/index.ts index 60bb3ff..4751c5f 100644 --- a/frontend/src/apis/interview/index.ts +++ b/frontend/src/apis/interview/index.ts @@ -26,7 +26,7 @@ interface RecordsByPageRes { interface GetInterviewRecordByPageWithOrderReq { page: number; - sortType: string; + order: string; year: string; }