refactor: simplify ticket lifecycle flow, remove processing and completed state
This commit is contained in:
@@ -81,13 +81,6 @@ export const ticketService = {
|
||||
return response.data;
|
||||
},
|
||||
|
||||
startTicket: async (ticketId: string): Promise<TicketDetail> => {
|
||||
const response = await axiosClient.post<TicketDetail>(
|
||||
API_ROUTES.TICKETS.START(ticketId),
|
||||
);
|
||||
return response.data;
|
||||
},
|
||||
|
||||
submitRepair: async (
|
||||
ticketId: string,
|
||||
payload: SubmitRepairPayload,
|
||||
|
||||
Reference in New Issue
Block a user