diff --git a/frontend/composables/api/product/useGetProduct.ts b/frontend/composables/api/product/useGetProduct.ts index eb9505d..6b14123 100644 --- a/frontend/composables/api/product/useGetProduct.ts +++ b/frontend/composables/api/product/useGetProduct.ts @@ -17,7 +17,7 @@ const useGetProduct = (id: string | number | undefined) => { // methods const handleGetProduct = async (id: string | number | undefined) => { - const { data } = await axios.get(`${API_ENDPOINTS.product.get}/${id}`); + const { data } = await axios.get(`${API_ENDPOINTS.product.get}/${id}/`); return data; };