A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
core: fix failing note-history test
Abdullah Attaea6a706c2512
diff --git a/packages/core/collections/note-history.js b/packages/core/collections/note-history.jsindex 998983101..ff092644b 100644--- a/packages/core/collections/note-history.js+++ b/packages/core/collections/note-history.js@@ -55,12 +55,6 @@ export default class NoteHistory extends Collection {await this._collection.addItem(item);}- async all() {- return Object.values(- await this._collection.getItems(this._collection.indexer.indices)- );- }-/*** Get complete session history of a note.* @param noteId id of the note@@ -191,14 +185,14 @@ export default class NoteHistory extends Collection {await this._db.content.add({id: note.contentId,data: content.data,- type: content.contentType+ type: content.type});} else {await this._db.notes.add({id: session.noteId,content: {data: content.data,- type: content.contentType+ type: content.type}});}