This commit is contained in:
Christopher Cookman 2025-09-01 02:55:33 -06:00
parent b9dcef1616
commit 0c60a3f020

View file

@ -151,7 +151,7 @@
const EndDate = tr.querySelectorAll('input[type="date"]')[1].value;
const Doors = [];
tr.children[8].querySelectorAll('input[type="checkbox"]').forEach(cb => {
if (cb.checked) Doors.push(cb.name);
if (cb.attributes.checked) Doors.push(cb.attributes.name);
});
credentials.push({
CardNumber,
@ -165,7 +165,7 @@
fetch('/acl/bulk-add', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ credentials, debugData: Doors })
body: JSON.stringify({ credentials, debugData: })
}).then(res => {
if (res.ok) {
location.reload();