From e91b6dc44766b47ed7f3f25f58b94a6a446a5e63 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Fri, 23 May 2025 09:22:05 +0330 Subject: [PATCH] Updated --- frontend/composables/api/product/useGetProduct.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };