mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
sync: fix inverted condition
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user