From 1d7f7e59adc3fb6f2973f4eb94967c21c8aef8e8 Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 22 Feb 2025 10:03:49 -0500 Subject: [PATCH] fixed deleteFiles --- displayFileList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/displayFileList.js b/displayFileList.js index 560b505..603efa1 100644 --- a/displayFileList.js +++ b/displayFileList.js @@ -144,7 +144,7 @@ window.deleteSelectedFiles = function () { if (!confirm(`Are you sure you want to delete the selected files?`)) { return; } - fetch("deleteFile.php", { + fetch("deleteFiles.php", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ files: selectedFiles })