open ticket

This commit is contained in:
hamid zarghami
2025-05-07 10:58:37 +03:30
parent d3ca7b2b71
commit 5852dd8fc4
4 changed files with 57 additions and 3 deletions
@@ -44,3 +44,8 @@ export const referTicket = async (id: string, userId: string) => {
});
return data;
};
export const openTicket = async (id: string) => {
const { data } = await axios.post(`/tickets/${id}/open`);
return data;
};