diff --git a/index.html b/index.html
index 586594c..e44fa2a 100644
--- a/index.html
+++ b/index.html
@@ -109,7 +109,7 @@
-
+
diff --git a/script.js b/script.js
index aa84e16..dcc6e7a 100644
--- a/script.js
+++ b/script.js
@@ -199,7 +199,7 @@ startLensUpload.addEventListener("click", function (e) {
if (lensId) {
lensUploadForm.append('id[]', lensId);
} else if (isValidUrl(inputVal)) {
- lensUploadForm.append('url[]', inputVal);
+ lensUploadForm.append('id[]', inputVal);
} else {
error(`Error: "${inputVal}" is neither a valid Lens ID nor a share URL.`);
isErrorOccurred = true;
@@ -209,7 +209,6 @@ startLensUpload.addEventListener("click", function (e) {
if (!isErrorOccurred) {
importFiles(importLensApiPath, lensUploadForm);
}
-
});
document.addEventListener("DOMContentLoaded", function () {