Update upload-images.md

This commit is contained in:
Tyler Kelly
2020-11-12 14:41:07 +10:00
committed by GitHub
parent 856f5854f3
commit f8e4001396
+1 -1
View File
@@ -114,7 +114,7 @@ tinymce.init({
success(json.location); success(json.location);
}; };
formData = new FormData(); formData = new FormData();
formData.append('file', blobInfo.blob(), fileName(blobInfo)); formData.append('file', blobInfo.blob(), blobInfo.filename());
xhr.send(formData); xhr.send(formData);
} }
}); });