Test
This commit is contained in:
parent
660a423059
commit
b9dcef1616
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue