fix: call Excel export via /export/projects
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -90,7 +90,7 @@ async function downloadProjectsExcel() {
|
||||
if (!canExport.value || exporting.value) return
|
||||
exporting.value = true
|
||||
try {
|
||||
const { data, headers } = await api.get('/export/projects.xlsx', {
|
||||
const { data, headers } = await api.get('/export/projects', {
|
||||
responseType: 'blob',
|
||||
})
|
||||
const disposition = String(headers?.['content-disposition'] || '')
|
||||
|
||||
Reference in New Issue
Block a user