From 7522c967d9bceb65134220c3999234146f3a3dcf Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:05:09 +0700 Subject: [PATCH] fix: wrong api case --- src/stores/report/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/report/index.ts b/src/stores/report/index.ts index 7686236c..6ba9ce2f 100644 --- a/src/stores/report/index.ts +++ b/src/stores/report/index.ts @@ -47,7 +47,7 @@ export async function getReportSale() { } export async function getReportProduct() { - const res = await api.get(`/${ENDPOINT}/Product`); + const res = await api.get(`/${ENDPOINT}/product`); if (res.status < 400) { return res.data; }