Skip to content

Commit e0fee14

Browse files
committed
fix: 초대장 조회 api 쿼리 수정
1 parent c896928 commit e0fee14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/tuk-web/src/app/gathering/[gatheringId]/invites/src/components/SendInviteList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const SendInviteList = () => {
1717
initialPageParam: 1,
1818
queryFn: ({ pageParam = 1 }) =>
1919
gatheringAPIService.getGatheringProposals(gatheringId, 'SENT', {
20-
page: pageParam,
20+
pageNumber: pageParam,
2121
pageSize: PAGE_SIZE,
2222
}),
2323
getNextPageParam: lastPage => {

apps/tuk-web/src/shared/lib/api/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ export function wrapZodError(err: unknown, url?: string, method?: string): never
4646
}
4747

4848
export type PaginationQuery = {
49-
page: number;
49+
pageNumber: number;
5050
pageSize: number;
5151
};

0 commit comments

Comments
 (0)