mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
change in naming of SQL methods
added assert methods to note tree
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(
|
||||
const recentChanges = await sql.getAll(
|
||||
`SELECT
|
||||
notes.is_deleted AS current_is_deleted,
|
||||
notes.note_title AS current_note_title,
|
||||
|
||||
Reference in New Issue
Block a user