diff --git a/next/web/src/App/Admin/Tickets/Topbar/batchUpdate.ts b/next/web/src/App/Admin/Tickets/Topbar/batchUpdate.ts index 7a41adfb2..70b5e3782 100644 --- a/next/web/src/App/Admin/Tickets/Topbar/batchUpdate.ts +++ b/next/web/src/App/Admin/Tickets/Topbar/batchUpdate.ts @@ -32,9 +32,9 @@ async function replyTicket(ticketId: string, reply: BatchReply) { async function updateTicket(ticketId: string, data: Omit) { try { await http.patch(`/api/2/tickets/${ticketId}`, { - assignee_id: data.assigneeId, - group_id: data.groupId, - category_id: data.caregoryId, + assigneeId: data.assigneeId, + groupId: data.groupId, + categoryId: data.caregoryId, }); } catch (error) { const msg = (error as AxiosError).response?.data;