diff --git a/cope2n-fe/src/request/report.ts b/cope2n-fe/src/request/report.ts index c2a2d17..b66277a 100644 --- a/cope2n-fe/src/request/report.ts +++ b/cope2n-fe/src/request/report.ts @@ -117,7 +117,7 @@ export async function downloadReport(report_id: string) { export async function downloadDashboardReport(duration='30d', subsidiary='ALL') { try { - const response = await API.get(`/api/ctel/overview_download_file/?duration=${duration}&subsidiary=${subsidiary}`, { + const response = await API.get(`/ctel/overview_download_file/?duration=${duration}&subsidiary=${subsidiary}`, { responseType: 'blob', // Important }); let filename = "report.xlsx";