From 5139c2612747e7e431d42614971ab59b2b1f504f Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 1 Sep 2025 00:47:57 -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 26b831a..ee80e67 100644 --- a/routes/acl.js +++ b/routes/acl.js @@ -19,7 +19,7 @@ router.get('/', async (req, res) => { }); router.get('/add', (req, res) => { // Render form to add new ACL entry - const dbData = db.query('PRAGMA table_info(ACL)').then(columns => { + db.query('SHOW COLUMNS FROM ACL').then(columns => { const doorList = {}; columns.forEach(col => { if (col.name !== 'Name' && col.name !== 'CardNumber' && col.name !== 'PIN' && col.name !== 'StartDate' && col.name !== 'EndDate') {