From c7826e0b1f31c8e3e3efbe8dfcc90de3fac2ca06 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 1 Sep 2025 00:51:15 -0600 Subject: [PATCH] Test --- routes/acl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/acl.js b/routes/acl.js index 03c28fe..01de821 100644 --- a/routes/acl.js +++ b/routes/acl.js @@ -22,7 +22,7 @@ router.get('/add', async (req, res) => { // Render form to add new ACL entry doorList = {} await db.query('SHOW COLUMNS FROM ACL;').then(columns => { columns.forEach(col => { - if (col.name !== 'Name' && col.name !== 'CardNumber' && col.name !== 'PIN' && col.name !== 'StartDate' && col.name !== 'EndDate') { + if (col.Field !== 'Name' && col.Field !== 'CardNumber' && col.Field !== 'PIN' && col.Field !== 'StartDate' && col.Field !== 'EndDate') { doorList[col.Field] = false; } });