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

@@ -801,7 +801,7 @@ class Note extends Entity {
*
* @returns {NoteRevision[]}
*/
getRevisions() {
getNoteRevisions() {
return this.repository.getEntities("SELECT * FROM note_revisions WHERE noteId = ?", [this.noteId]);
}