mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
set last sync on sync service
This commit is contained in:
@@ -35,12 +35,11 @@ function initSyncService() {
|
||||
}
|
||||
|
||||
syncVault(userId).then(function () {
|
||||
syncSettings(userId).then(function () {
|
||||
return syncSettings(userId);
|
||||
}).then(function () {
|
||||
self.setLastSync(new Date(), function () {
|
||||
self.syncCompleted(true);
|
||||
callback(true);
|
||||
}, function () {
|
||||
self.syncCompleted(false);
|
||||
callback(false);
|
||||
});
|
||||
}, function () {
|
||||
self.syncCompleted(false);
|
||||
|
||||
Reference in New Issue
Block a user