fix: wrong api case

This commit is contained in:
Methapon2001 2025-03-06 10:05:09 +07:00
parent 18b686e046
commit 7522c967d9

View file

@ -47,7 +47,7 @@ export async function getReportSale() {
}
export async function getReportProduct() {
const res = await api.get<ReportProduct[]>(`/${ENDPOINT}/Product`);
const res = await api.get<ReportProduct[]>(`/${ENDPOINT}/product`);
if (res.status < 400) {
return res.data;
}