mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
websocket stuff separated into messaging.js
This commit is contained in:
@@ -137,8 +137,6 @@ async function updateNote(noteId, newNote, ctx) {
|
||||
await encryptNote(newNote, ctx);
|
||||
}
|
||||
|
||||
const origNoteDetail = await sql.getSingleResult("SELECT * FROM notes WHERE note_id = ?", [noteId]);
|
||||
|
||||
const now = utils.nowTimestamp();
|
||||
|
||||
const historySnapshotTimeInterval = parseInt(await options.getOption('history_snapshot_time_interval'));
|
||||
|
||||
Reference in New Issue
Block a user