fix: wrong api case
This commit is contained in:
parent
18b686e046
commit
7522c967d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue