Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

core: do not reset attachment dateUploaded when marking as failed

Abdullah Attab22770f1ae97
diff --git a/packages/core/src/collections/attachments.ts b/packages/core/src/collections/attachments.ts
index 762fd4c8e..e5d02181b 100644
--- a/packages/core/src/collections/attachments.ts
+++ b/packages/core/src/collections/attachments.ts
@@ -346,7 +346,6 @@ export class Attachments implements ICollection {
markAsFailed(id: string, reason?: string) {
return this.collection.update([id], {
- dateUploaded: null,
failed: reason
});
}