mirror of
https://github.com/zadam/trilium.git
synced 2025-12-24 00:59:55 +01:00
change in naming of SQL methods
added assert methods to note tree
This commit is contained in:
@@ -12,7 +12,7 @@ const notes = require('../../services/notes');
|
||||
const sync_table = require('../../services/sync_table');
|
||||
|
||||
router.get('/', auth.checkApiAuth, async (req, res, next) => {
|
||||
const notes = await sql.getResults("SELECT "
|
||||
const notes = await sql.getAll("SELECT "
|
||||
+ "notes_tree.*, "
|
||||
+ "notes.note_title, "
|
||||
+ "notes.is_protected "
|
||||
|
||||
Reference in New Issue
Block a user