1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

Fix noop notification service registration (#13131)

* Re-order the constructor dependencies to match between Noop and Default notification service

* Fix test file

* One more missed constructor
This commit is contained in:
Shane Melton
2025-01-29 09:58:01 -08:00
committed by GitHub
parent aef81210e3
commit db2b405421
4 changed files with 11 additions and 11 deletions

View File

@@ -42,6 +42,7 @@ export class DefaultNotificationsService implements NotificationsServiceAbstract
private activitySubject = new BehaviorSubject<"active" | "inactive">("active");
constructor(
private readonly logService: LogService,
private syncService: SyncService,
private appIdService: AppIdService,
private environmentService: EnvironmentService,
@@ -51,7 +52,6 @@ export class DefaultNotificationsService implements NotificationsServiceAbstract
private readonly signalRConnectionService: SignalRConnectionService,
private readonly authService: AuthService,
private readonly webPushConnectionService: WebPushConnectionService,
private readonly logService: LogService,
) {
this.notifications$ = this.accountService.activeAccount$.pipe(
map((account) => account?.id),