From 4ed09f494ff7155fae28f213e28b5fe13773de12 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Sun, 26 Oct 2025 15:06:00 +0330 Subject: [PATCH] fix answer --- src/pages/products/service/ProductService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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