mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
listen for notification updates in the builder methods
This commit is contained in:
@@ -50,6 +50,7 @@ export class InterchangeSystem {
|
||||
notificationRepository,
|
||||
new AppleNotificationSender(),
|
||||
);
|
||||
notificationScheduler.startListeningForUpdates();
|
||||
|
||||
return new InterchangeSystem(
|
||||
args.name,
|
||||
@@ -79,6 +80,7 @@ export class InterchangeSystem {
|
||||
notificationRepository,
|
||||
new AppleNotificationSender(false),
|
||||
);
|
||||
notificationScheduler.startListeningForUpdates();
|
||||
|
||||
return new InterchangeSystem(
|
||||
args.name,
|
||||
|
||||
Reference in New Issue
Block a user