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
fix: noteId is not defined
thecodrr6eb625c8eb3a
diff --git a/packages/core/content-types/tiny.js b/packages/core/content-types/tiny.jsindex acda87df3..d8482ab3a 100644--- a/packages/core/content-types/tiny.js+++ b/packages/core/content-types/tiny.js@@ -101,7 +101,7 @@ class Tiny {const type =getDatasetAttribute(attachment, "mime") || mime || "image/jpeg";- const { key, metadata } = await store(noteId, data, "base64");+ const { key, metadata } = await store(data, "base64");setDatasetAttribute(attachment, "hash", metadata.hash);attachments.push({