diff --git a/src/api/qgis.ts b/src/api/qgis.ts index c924db5..b3805ee 100644 --- a/src/api/qgis.ts +++ b/src/api/qgis.ts @@ -34,7 +34,9 @@ export function clearWorkspace() { */ export function uploadFiles(files: File[]) { let formData = new FormData() - formData.append("file_list", files) + files.forEach(file => { + formData.append("file_list", file) + }) const config = { headers: {