added event log dialog

This commit is contained in:
azivner
2017-11-03 23:00:35 -04:00
parent e35c2dd4ad
commit 3892666961
8 changed files with 121 additions and 47 deletions

View File

@@ -6,7 +6,7 @@ const sql = require('../../services/sql');
const auth = require('../../services/auth');
router.get('/', auth.checkApiAuth, async (req, res, next) => {
const recentChanges = await sql.getResults("select * from notes_history order by date_modified desc limit 1000");
const recentChanges = await sql.getResults("select * from notes_history order by date_modified_to desc limit 1000");
res.send(recentChanges);
});