listen for notification updates in the builder methods

This commit is contained in:
2025-04-07 12:59:04 -07:00
parent 60256ce572
commit 476b96c423

View File

@@ -50,6 +50,7 @@ export class InterchangeSystem {
notificationRepository, notificationRepository,
new AppleNotificationSender(), new AppleNotificationSender(),
); );
notificationScheduler.startListeningForUpdates();
return new InterchangeSystem( return new InterchangeSystem(
args.name, args.name,
@@ -79,6 +80,7 @@ export class InterchangeSystem {
notificationRepository, notificationRepository,
new AppleNotificationSender(false), new AppleNotificationSender(false),
); );
notificationScheduler.startListeningForUpdates();
return new InterchangeSystem( return new InterchangeSystem(
args.name, args.name,