Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

chore: add todo

thecodrr4b9b959fa0bc
diff --git a/packages/core/api/database.js b/packages/core/api/database.js
index 86801174e..c96b767a7 100644
--- a/packages/core/api/database.js
+++ b/packages/core/api/database.js
@@ -83,6 +83,7 @@ class Database {
* @param {string} query the search query
*/
async searchNotes(query) {
+ //TODO benchmark this and make it faster if necessary
let notes = await this.getNotes();
if (!notes) return;
return ff(