fix answer
This commit is contained in:
@@ -125,6 +125,6 @@ export const approveProductQuestion = async (id: string) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const answerProductQuestion = async (params: {id: string, answer: 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;
|
return data;
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user