[client-sync] Properly wrap the SyncWorker arg in an object

The argument structure for runTask() changed and needs it this way.
This commit is contained in:
Halla Moore 2017-03-31 10:58:16 -07:00
parent c6a339df1a
commit ae2e2122e9

View file

@ -468,7 +468,7 @@ class SyncWorker {
async _runTask(task) {
this._currentTask = task
await this._conn.runOperation(this._currentTask, this)
await this._conn.runOperation(this._currentTask, {syncWorker: this})
this._currentTask = null
}