Skip to content

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

core: fix attachments not syncing

Abdullah Atta44d6474b3641
diff --git a/packages/core/src/api/sync/collector.js b/packages/core/src/api/sync/collector.js
index d02d1550b..64dfc0c24 100644
--- a/packages/core/src/api/sync/collector.js
+++ b/packages/core/src/api/sync/collector.js
@@ -76,7 +76,7 @@ class Collector {
}
const attachments = await this.prepareChunk(
- [this._db.attachments.syncable],
+ this._db.attachments.syncable,
lastSyncedTimestamp,
isForceSync,
key,