fix: this.db > this._db

This commit is contained in:
thecodrr
2020-03-22 13:03:26 +05:00
parent 6e73268145
commit e38441c239

View File

@@ -172,9 +172,9 @@ class Prepare {
this._lastSyncedTimestamp = lastSyncedTimestamp; this._lastSyncedTimestamp = lastSyncedTimestamp;
return { return {
notes: this._prepareForServer(this._db.notes.all), notes: this._prepareForServer(this._db.notes.all),
notebooks: this._prepareForServer(this.db.notebooks.all), notebooks: this._prepareForServer(this._db.notebooks.all),
delta: this._prepareForServer(await this.db.delta.all()), delta: this._prepareForServer(await this._db.delta.all()),
text: this._prepareForServer(await this.db.text.all()), text: this._prepareForServer(await this._db.text.all()),
tags: this._prepareForServer(this._db.tags.all), tags: this._prepareForServer(this._db.tags.all),
colors: this._prepareForServer(this._db.colors.all), colors: this._prepareForServer(this._db.colors.all),
trash: [], trash: [],