1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 17:32:46 +01:00

Remove usage of getBgService from browser services (#8234)

This commit is contained in:
Matt Gibson 2024-03-07 13:58:58 -06:00 committed by GitHub
parent bdaa95bd7f
commit 0f9acf50f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -220,10 +220,6 @@ function getBgService<T>(service: keyof MainBackground) {
useFactory: () => new WebCryptoFunctionService(window), useFactory: () => new WebCryptoFunctionService(window),
deps: [], deps: [],
}, },
{
provide: FileUploadService,
useFactory: getBgService<FileUploadService>("fileUploadService"),
},
{ {
provide: InternalFolderService, provide: InternalFolderService,
useExisting: FolderServiceAbstraction, useExisting: FolderServiceAbstraction,