refactor(FE): Change endpoint path to reports

This commit is contained in:
rstubryan
2026-01-13 16:47:58 +07:00
parent 8481b77c90
commit 582b971c09
2 changed files with 2 additions and 4 deletions
@@ -33,7 +33,7 @@ const MarketingReportContent = () => {
const [activeTab, setActiveTab] = useState<string>('daily');
return (
<section className='w-full max-w-7xl pb-16'>
<section className='w-full max-w-full pb-16'>
<Tabs
activeTabId={activeTab}
onTabChange={setActiveTab}
+1 -3
View File
@@ -44,9 +44,7 @@ export class MarketingSaleReportService extends BaseApiService<
}
}
export const SaleReportApi = new MarketingSaleReportService(
'reports/marketings'
);
export const SaleReportApi = new MarketingSaleReportService('reports');
// export const SaleReportApi = new MarketingSaleReportService(
// 'http://localhost:4010/api/reports/marketings'