mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
note revision sync and other fixes
This commit is contained in:
@@ -14,11 +14,11 @@ async function getNoteRevisions(req) {
|
||||
}
|
||||
|
||||
async function getNoteRevision(req) {
|
||||
const {noteRevisionId} = req.params;
|
||||
const noteRevision = await repository.getNoteRevision(req.params.noteRevisionId);
|
||||
|
||||
return await repository.getNote(`SELECT *
|
||||
FROM note_revisions
|
||||
WHERE noteRevisionId = ?`, [noteId]);
|
||||
await noteRevision.getContent();
|
||||
|
||||
return noteRevision;
|
||||
}
|
||||
|
||||
async function getEditedNotesOnDate(req) {
|
||||
|
||||
Reference in New Issue
Block a user