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 upload attachment from content
Ammar Ahmed3cae22faf149
diff --git a/packages/core/src/collections/content.ts b/packages/core/src/collections/content.tsindex 643993f1b..a2a3448e7 100644--- a/packages/core/src/collections/content.ts+++ b/packages/core/src/collections/content.ts@@ -337,7 +337,7 @@ export class Content implements ICollection {const content = getContentFromData(contentItem.type, contentItem.data);if (!content) return contentItem.data;const { data, hashes, internalLinks } = await content.postProcess(- this.db.attachments.save+ this.db.attachments.save.bind(this.db.attachments));await this.processInternalLinks(contentItem.noteId, internalLinks);