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,
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user