Skip to content

Commit

Permalink
- fix(api/qgis)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisGray0626 committed Jul 2, 2024
1 parent 610fc78 commit 7f7e28b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/qgis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 7f7e28b

Please sign in to comment.