mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Change endpoint path to reports
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user