mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-23008] Error when attempting to export vault (#15397)
* moved restrictedItemTypesService creation before export service is created * Fixed cliRestrictedItemTypesService arrangement
This commit is contained in:
@@ -795,6 +795,17 @@ export class ServiceContainer {
|
||||
|
||||
this.totpService = new TotpService(this.sdkService);
|
||||
|
||||
this.restrictedItemTypesService = new RestrictedItemTypesService(
|
||||
this.configService,
|
||||
this.accountService,
|
||||
this.organizationService,
|
||||
this.policyService,
|
||||
);
|
||||
|
||||
this.cliRestrictedItemTypesService = new CliRestrictedItemTypesService(
|
||||
this.restrictedItemTypesService,
|
||||
);
|
||||
|
||||
this.importApiService = new ImportApiService(this.apiService);
|
||||
|
||||
this.importService = new ImportService(
|
||||
@@ -875,17 +886,6 @@ export class ServiceContainer {
|
||||
);
|
||||
|
||||
this.masterPasswordApiService = new MasterPasswordApiService(this.apiService, this.logService);
|
||||
|
||||
this.restrictedItemTypesService = new RestrictedItemTypesService(
|
||||
this.configService,
|
||||
this.accountService,
|
||||
this.organizationService,
|
||||
this.policyService,
|
||||
);
|
||||
|
||||
this.cliRestrictedItemTypesService = new CliRestrictedItemTypesService(
|
||||
this.restrictedItemTypesService,
|
||||
);
|
||||
}
|
||||
|
||||
async logout() {
|
||||
|
||||
Reference in New Issue
Block a user