1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 02:43:04 +01:00

dont refresh token and sync at same time

This commit is contained in:
Kyle Spearrin 2018-08-08 13:41:39 -04:00
parent b5085d8004
commit 33cf77559f
2 changed files with 3 additions and 5 deletions

2
jslib

@ -1 +1 @@
Subproject commit 3429b57db42a3e1e9948b870bf24fcc02ebc8a99
Subproject commit 4ca7a9709e9ccd0e67ce09309ae605f2057bf089

View File

@ -161,10 +161,8 @@ export class CreateOrganizationComponent implements OnInit {
}
async finalize(orgId: string) {
await Promise.all([
this.apiService.refreshIdentityToken(),
this.syncService.fullSync(true),
]);
await this.apiService.refreshIdentityToken();
await this.syncService.fullSync(true);
this.analytics.eventTrack.next({ action: 'Created Organization' });
this.toasterService.popAsync('success', this.i18nService.t('organizationCreated'),
this.i18nService.t('organizationReadyToGo'));