mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
unified SQL syntax to uppercase
This commit is contained in:
@@ -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_to desc limit 1000");
|
||||
const recentChanges = await sql.getResults("SELECT * FROM notes_history order by date_modified_to desc limit 1000");
|
||||
|
||||
res.send(recentChanges);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user