Skip to content

Commit

Permalink
Use AccountService from Background
Browse files Browse the repository at this point in the history
  • Loading branch information
justindbaur committed Oct 16, 2023
1 parent aae9bf0 commit 3aeed26
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/browser/src/popup/services/services.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,11 @@ function getBgService<T>(service: keyof MainBackground) {
useFactory: getBgService<PasswordGenerationServiceAbstraction>("passwordGenerationService"),
deps: [],
},
{
provide: AccountServiceAbstraction,
useFactory: getBgService<AccountServiceAbstraction>("accountService"),
deps: [],
},
{ provide: ApiService, useFactory: getBgService<ApiService>("apiService"), deps: [] },
{
provide: SendService,
Expand Down

0 comments on commit 3aeed26

Please sign in to comment.