From ec85f748fa0aaabb00fd08e73f85d501bfd6fc0d Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Wed, 6 Sep 2023 15:43:20 +0500 Subject: [PATCH] core: use serverLastSynced time from client --- packages/core/src/api/sync/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/api/sync/index.js b/packages/core/src/api/sync/index.js index 24a19f178..07898cd64 100644 --- a/packages/core/src/api/sync/index.js +++ b/packages/core/src/api/sync/index.js @@ -54,10 +54,10 @@ export default class SyncManager { this._db = db; } - async start(full, force) { + async start(full, force, serverLastSynced) { try { await this.sync.autoSync.start(); - await this.sync.start(full, force); + await this.sync.start(full, force, serverLastSynced); return true; } catch (e) { var isHubException = e.message.includes("HubException:");