core: always send sync request to client

This commit is contained in:
Abdullah Atta
2023-09-05 18:01:44 +05:00
parent 48061962b1
commit 5f0907168f
2 changed files with 14 additions and 9 deletions

View File

@@ -284,8 +284,8 @@ class Database {
return (await this.storage.read("lastSynced")) || 0;
}
sync(full = true, force = false) {
return this.syncer.start(full, force);
sync(full = true, force = false, lastSynced = null) {
return this.syncer.start(full, force, lastSynced);
}
/**