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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user