mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
renaming of sql methods to fit getRows/getEntities model
This commit is contained in:
@@ -7,7 +7,7 @@ const auth = require('../../services/auth');
|
||||
const wrap = require('express-promise-wrap').wrap;
|
||||
|
||||
router.get('/', auth.checkApiAuth, wrap(async (req, res, next) => {
|
||||
const recentChanges = await sql.getAll(
|
||||
const recentChanges = await sql.getRows(
|
||||
`SELECT
|
||||
notes.isDeleted AS current_isDeleted,
|
||||
notes.title AS current_title,
|
||||
|
||||
Reference in New Issue
Block a user