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 attachment mime type on read
Abdullah Attab377329a8bb8
diff --git a/packages/core/src/collections/attachments.js b/packages/core/src/collections/attachments.jsindex 9129fa928..0778e5790 100644--- a/packages/core/src/collections/attachments.js+++ b/packages/core/src/collections/attachments.js@@ -296,7 +296,7 @@ export default class Attachments extends Collection {if (!data) return;return outputType === "base64"- ? dataurl.fromObject({ type: "application/octet-stream", data })+ ? dataurl.fromObject({ type: attachment.metadata.type, data }): data;}