This commit is contained in:
Christopher Cookman 2025-09-01 02:53:02 -06:00
parent 660a423059
commit b9dcef1616

View file

@ -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();