feat: sync user on startup

This commit is contained in:
thecodrr
2020-05-23 17:20:24 +05:00
parent a7a1d3396a
commit 2e80859bea
2 changed files with 28 additions and 11 deletions

View File

@@ -32,6 +32,8 @@ class Database {
this._validate();
this.user = new User(this);
await this.user.sync();
this.syncer = new Sync(this);
this.vault = new Vault(this);
this.conflicts = new Conflicts(this);