diff --git a/src/entities/InterchangeSystem.ts b/src/entities/InterchangeSystem.ts index 106ea01..4db31a6 100644 --- a/src/entities/InterchangeSystem.ts +++ b/src/entities/InterchangeSystem.ts @@ -6,6 +6,7 @@ import { RedisNotificationRepository } from "../repositories/RedisNotificationRe import { NotificationRepository } from "../repositories/NotificationRepository"; import { ShuttleGetterSetterRepository } from "../repositories/ShuttleGetterSetterRepository"; import { InMemoryNotificationRepository } from "../repositories/InMemoryNotificationRepository"; +import { AppleNotificationSender } from "../notifications/senders/AppleNotificationSender"; export interface InterchangeSystemBuilderArguments { name: string; @@ -44,7 +45,11 @@ export class InterchangeSystem { const shuttleDataLoader = new TimedApiBasedShuttleRepositoryLoader(args.passioSystemId, shuttleRepository); const notificationRepository = new InMemoryNotificationRepository(); - const notificationScheduler = new ETANotificationScheduler(shuttleRepository, notificationRepository); + const notificationScheduler = new ETANotificationScheduler( + shuttleRepository, + notificationRepository, + new AppleNotificationSender(false), + ); return new InterchangeSystem( args.name,