fix: call Excel export via /export/projects

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-27 21:00:59 +03:30
co-authored by Cursor
parent f70b0f6c91
commit 0efeaa5d44
+1 -1
View File
@@ -90,7 +90,7 @@ async function downloadProjectsExcel() {
if (!canExport.value || exporting.value) return if (!canExport.value || exporting.value) return
exporting.value = true exporting.value = true
try { try {
const { data, headers } = await api.get('/export/projects.xlsx', { const { data, headers } = await api.get('/export/projects', {
responseType: 'blob', responseType: 'blob',
}) })
const disposition = String(headers?.['content-disposition'] || '') const disposition = String(headers?.['content-disposition'] || '')