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:
parent
b5085d8004
commit
33cf77559f
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 3429b57db42a3e1e9948b870bf24fcc02ebc8a99
|
||||
Subproject commit 4ca7a9709e9ccd0e67ce09309ae605f2057bf089
|
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user