diff --git a/src/main/resources/static/js/downloader.js b/src/main/resources/static/js/downloader.js index 894c67da1..f18a4bbf9 100644 --- a/src/main/resources/static/js/downloader.js +++ b/src/main/resources/static/js/downloader.js @@ -75,7 +75,6 @@ // Check if any PDF files are encrypted and handle decryption if necessary const decryptedFiles = await checkAndDecryptFiles(url, files); files = decryptedFiles; - formData.delete('fileInput'); // Reset fileInput and Append // Append decrypted files to formData decryptedFiles.forEach((file, index) => { formData.append(`fileInput`, file);