fix url ticket

This commit is contained in:
hamid zarghami
2026-02-24 11:38:37 +03:30
parent df4a730091
commit d65fa8cd2d
2 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -57,12 +57,12 @@ export const getRequestDetails = async (id: string) => {
export const getTickets = async (id: string) => {
const { data } = await axios.get<TicketsResponseType>(
`/public/ticket/ref/${id}`,
`/public/chat/ref/${id}`,
);
return data;
};
export const addTicket = async (id: string, params: AddTicketType) => {
const { data } = await axios.post(`/public/ticket/ref/${id}`, params);
const { data } = await axios.post(`/public/chat/ref/${id}`, params);
return data;
};