mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 06:29:29 +01:00
core: use serverLastSynced time from client
This commit is contained in:
@@ -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:");
|
||||
|
||||
Reference in New Issue
Block a user