mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-21 06:03:13 +02:00
fix: improve failed upload error handling
This commit is contained in:
@@ -72,7 +72,7 @@ const uploadFile = async (
|
||||
file: File,
|
||||
progressCallBack: (uploadingProgress: number) => void
|
||||
) => {
|
||||
var formData = new FormData();
|
||||
let formData = new FormData();
|
||||
formData.append("file", file);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user