diff --git a/src/pages/products/service/ProductService.ts b/src/pages/products/service/ProductService.ts index 0c4b627..68c8034 100644 --- a/src/pages/products/service/ProductService.ts +++ b/src/pages/products/service/ProductService.ts @@ -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; }; \ No newline at end of file