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
feat: allow setting undefined for failed property
thecodrrac20348fa4e5
diff --git a/packages/core/collections/attachments.js b/packages/core/collections/attachments.jsindex 1d990ce71..5370d9994 100644--- a/packages/core/collections/attachments.js+++ b/packages/core/collections/attachments.js@@ -244,7 +244,7 @@ export default class Attachments extends Collection {markAsFailed(id, reason) {const attachment = this.attachment(id);if (!attachment) return;- attachment.failed = reason || true;+ attachment.failed = reason;return this._collection.updateItem(attachment);}