mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-28 12:45:45 +01:00
Remove usage of getBgService
from browser services (#8234)
This commit is contained in:
parent
bdaa95bd7f
commit
0f9acf50f7
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user