fixed deleteFiles

This commit is contained in:
Ryan
2025-02-22 10:03:49 -05:00
committed by GitHub
parent fc0f9b82c5
commit 1d7f7e59ad

View File

@@ -144,7 +144,7 @@ window.deleteSelectedFiles = function () {
if (!confirm(`Are you sure you want to delete the selected files?`)) { if (!confirm(`Are you sure you want to delete the selected files?`)) {
return; return;
} }
fetch("deleteFile.php", { fetch("deleteFiles.php", {
method: "POST", method: "POST",
headers: { "Content-Type": "application/json" }, headers: { "Content-Type": "application/json" },
body: JSON.stringify({ files: selectedFiles }) body: JSON.stringify({ files: selectedFiles })