From ae2e2122e94287f213fc666c2a3b752cbe45c717 Mon Sep 17 00:00:00 2001 From: Halla Moore Date: Fri, 31 Mar 2017 10:58:16 -0700 Subject: [PATCH] [client-sync] Properly wrap the SyncWorker arg in an object The argument structure for runTask() changed and needs it this way. --- packages/client-sync/src/local-sync-worker/sync-worker.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client-sync/src/local-sync-worker/sync-worker.es6 b/packages/client-sync/src/local-sync-worker/sync-worker.es6 index 052bf5a9b..de0180a3c 100644 --- a/packages/client-sync/src/local-sync-worker/sync-worker.es6 +++ b/packages/client-sync/src/local-sync-worker/sync-worker.es6 @@ -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 }