diff --git a/views/acl-bulk-add.ejs b/views/acl-bulk-add.ejs index 0de17c6..a89b897 100644 --- a/views/acl-bulk-add.ejs +++ b/views/acl-bulk-add.ejs @@ -152,7 +152,6 @@ const Doors = []; tr.children[8].querySelectorAll('input[type="checkbox"]').forEach(cb => { if (cb.checked) Doors.push(cb.name); - console.log(cb.name, cb.checked); }); credentials.push({ CardNumber, @@ -166,7 +165,7 @@ fetch('/acl/bulk-add', { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ credentials }) + body: JSON.stringify({ credentials, debugData: Doors }) }).then(res => { if (res.ok) { location.reload();