Fix incorrect variable name in upload function.

This commit is contained in:
Gabriel Simmer 2019-02-28 22:40:10 -08:00
parent a3d421ed3d
commit b07c20d43a
No known key found for this signature in database
GPG key ID: 0394452F45EF2817

View file

@ -25,7 +25,7 @@ window.addEventListener("drop",function(e){
var upload = (file) => {
var clkepath = document.getElementById("path").value;
var path = document.getElementById("path").value;
var formData = new FormData();
formData.append("path", path);
formData.append("file", file);