1
0
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:
SmithThe4th
2025-06-30 11:32:19 -04:00
committed by GitHub
parent a2fd4a3779
commit 4bfcc9d076

View File

@@ -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() {