converted NoteRevision entity to the becca

This commit is contained in:
zadam
2021-04-26 22:00:55 +02:00
parent cb3a5bba61
commit d8f1c39282
7 changed files with 63 additions and 50 deletions

View File

@@ -62,7 +62,7 @@ const ACTION_HANDLERS = {
note.save();
},
deleteNoteRevisions: (action, note) => {
noteRevisionService.eraseNoteRevisions(note.getRevisions().map(rev => rev.noteRevisionId));
noteRevisionService.eraseNoteRevisions(note.getNoteRevisions().map(rev => rev.noteRevisionId));
},
deleteLabel: (action, note) => {
for (const label of note.getOwnedLabels(action.labelName)) {