🐛 fix(api): Update Model

This commit is contained in:
web@ppanel
2024-12-01 15:44:51 +07:00
parent 81e0f21a39
commit 39aaa73d6d
33 changed files with 1257 additions and 413 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ export default function Page() {
queryKey: ['getUserTicketDetails', ticketId],
queryFn: async () => {
const { data } = await getUserTicketDetails({ id: ticketId });
return data.data as API.UserTicket;
return data.data as API.Ticket;
},
enabled: !!ticketId,
refetchInterval: 5000,
@@ -74,7 +74,7 @@ export default function Page() {
return (
<>
<ProList<API.UserTicket, { status: number }>
<ProList<API.Ticket, { status: number }>
action={ref}
header={{
title: t('ticketList'),