diff --git a/app/share/page.tsx b/app/share/page.tsx index eae69b8..9e4190b 100644 --- a/app/share/page.tsx +++ b/app/share/page.tsx @@ -43,7 +43,7 @@ type InviteRecordsResponse = { code: number; message: string; data: { - invited_list: InviteRecord[]; + record_list: InviteRecord[]; pagination: PaginationInfo; }; }; @@ -102,7 +102,7 @@ export default function SharePage(): JSX.Element { try { const response = await fetchInviteRecords(); if (mounted && response.successful) { - setRecords(response.data.invited_list); + setRecords(response.data.record_list); setPagination(response.data.pagination); } } catch {