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 backup fail if item in null/undefined
ammarahm-ed9ea4651fb08c
diff --git a/packages/core/src/database/backup.js b/packages/core/src/database/backup.jsindex 80c7810a2..08d931ea8 100644--- a/packages/core/src/database/backup.js+++ b/packages/core/src/database/backup.js@@ -125,6 +125,7 @@ export default class Backup {const items = await this._db.storage.readMulti(chunk);items.forEach(([id, item]) => {if (+ !item ||invalidKeys.includes(id) ||(item.deleted && !item.type) ||id.startsWith("_uk_")