mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
dont refresh token and sync at same time
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 3429b57db4...4ca7a9709e
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user