From e22186771a6f3db892aed16613729c2f219180e6 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 1 Sep 2025 03:01:14 -0600 Subject: [PATCH] Test --- routes/acl.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/acl.js b/routes/acl.js index f2645b8..2d7c2d4 100644 --- a/routes/acl.js +++ b/routes/acl.js @@ -222,8 +222,8 @@ router.post('/bulk-add', async (req, res) => { // Process bulk add of ACL entrie entry.StartDate || new Date(), entry.EndDate || new Date(new Date().setFullYear(new Date().getFullYear() + 99)) ]; - if (Array.isArray(entry.doors)) { - for (const door of entry.doors) { + if (Array.isArray(entry.Doors)) { + for (const door of entry.Doors) { fields.push(door); placeholders.push('?'); values.push(1);