1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-11 05:53:42 +00:00

Fix initializer order issue.

This commit is contained in:
Jimmy Vo
2025-03-18 13:04:27 -04:00
parent b08f30a25b
commit 1b626d665c

View File

@@ -710,13 +710,6 @@ export default class MainBackground {
this.vaultTimeoutSettingsService,
);
PhishingDetectionService.initialize(
this.auditService,
this.logService,
this.storageService,
this.taskSchedulerService,
);
this.fileUploadService = new FileUploadService(this.logService, this.apiService);
this.cipherFileUploadService = new CipherFileUploadService(
this.apiService,
@@ -1290,6 +1283,13 @@ export default class MainBackground {
);
this.inlineMenuFieldQualificationService = new InlineMenuFieldQualificationService();
PhishingDetectionService.initialize(
this.auditService,
this.logService,
this.storageService,
this.taskSchedulerService,
);
}
async bootstrap() {