Test
This commit is contained in:
parent
ad0c3c6e09
commit
5139c26127
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue