From e38441c23986b76d19c4642ea52f54c91f6ecb78 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Sun, 22 Mar 2020 13:03:26 +0500 Subject: [PATCH] fix: this.db > this._db --- packages/core/api/sync.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/api/sync.js b/packages/core/api/sync.js index f04c36933..0127eaafb 100644 --- a/packages/core/api/sync.js +++ b/packages/core/api/sync.js @@ -172,9 +172,9 @@ class Prepare { this._lastSyncedTimestamp = lastSyncedTimestamp; return { notes: this._prepareForServer(this._db.notes.all), - notebooks: this._prepareForServer(this.db.notebooks.all), - delta: this._prepareForServer(await this.db.delta.all()), - text: this._prepareForServer(await this.db.text.all()), + notebooks: this._prepareForServer(this._db.notebooks.all), + delta: this._prepareForServer(await this._db.delta.all()), + text: this._prepareForServer(await this._db.text.all()), tags: this._prepareForServer(this._db.tags.all), colors: this._prepareForServer(this._db.colors.all), trash: [],