Test
This commit is contained in:
parent
833739d284
commit
e22186771a
|
@ -222,8 +222,8 @@ router.post('/bulk-add', async (req, res) => { // Process bulk add of ACL entrie
|
||||||
entry.StartDate || new Date(),
|
entry.StartDate || new Date(),
|
||||||
entry.EndDate || new Date(new Date().setFullYear(new Date().getFullYear() + 99))
|
entry.EndDate || new Date(new Date().setFullYear(new Date().getFullYear() + 99))
|
||||||
];
|
];
|
||||||
if (Array.isArray(entry.doors)) {
|
if (Array.isArray(entry.Doors)) {
|
||||||
for (const door of entry.doors) {
|
for (const door of entry.Doors) {
|
||||||
fields.push(door);
|
fields.push(door);
|
||||||
placeholders.push('?');
|
placeholders.push('?');
|
||||||
values.push(1);
|
values.push(1);
|
||||||
|
|
Loading…
Reference in a new issue