diff --git a/packages/core/api/sync.js b/packages/core/api/sync.js index 944437fd7..9bad351cb 100644 --- a/packages/core/api/sync.js +++ b/packages/core/api/sync.js @@ -64,7 +64,7 @@ export default class Sync { async _merge({ serverResponse, lastSyncedTimestamp, user }) { const { notes, synced, notebooks } = serverResponse; - if (synced) { + if (!synced) { syncArrayWithDatabase( notes, id => this.db.notes.note(id).data,