diff --git a/src/main/resources/static/js/downloader.js b/src/main/resources/static/js/downloader.js index 894c67da..77a673c0 100644 --- a/src/main/resources/static/js/downloader.js +++ b/src/main/resources/static/js/downloader.js @@ -75,11 +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); - }); } submitButton.textContent = 'Processing...';