This commit is contained in:
marzban-dev
2025-05-23 09:22:05 +03:30
parent 56370b6f06
commit e91b6dc447
@@ -17,7 +17,7 @@ const useGetProduct = (id: string | number | undefined) => {
// methods
const handleGetProduct = async (id: string | number | undefined) => {
const { data } = await axios.get<GetProductResponse>(`${API_ENDPOINTS.product.get}/${id}`);
const { data } = await axios.get<GetProductResponse>(`${API_ENDPOINTS.product.get}/${id}/`);
return data;
};