mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
update to entity creates sync event
This commit is contained in:
@@ -4,6 +4,7 @@ const Entity = require('./entity');
|
||||
|
||||
class NoteRevision extends Entity {
|
||||
static get tableName() { return "note_revisions"; }
|
||||
static get primaryKeyName() { return "noteRevisionId"; }
|
||||
|
||||
async getNote() {
|
||||
return this.repository.getEntity("SELECT * FROM notes WHERE noteId = ?", [this.noteId]);
|
||||
|
||||
Reference in New Issue
Block a user