fix answer

This commit is contained in:
hamid zarghami
2025-10-26 15:06:00 +03:30
parent 1608a5886c
commit 4ed09f494f
+1 -1
View File
@@ -125,6 +125,6 @@ export const approveProductQuestion = async (id: string) => {
};
export const answerProductQuestion = async (params: {id: string, answer: string}) => {
const { data } = await axios.post(`/product/questions/${params.id}/answer`, { content:params.answer });
const { data } = await axios.post(`/admin/products/questions/${params.id}/answer`, { content:params.answer });
return data;
};