This commit is contained in:
2025-02-03 21:51:52 -08:00
parent 8bc71d25fe
commit 90e5fa200e

View File

@@ -77,6 +77,7 @@ export class NotificationService {
private async etaSubscriberCallback(eta: IEta) { private async etaSubscriberCallback(eta: IEta) {
const tuple = new TupleKey(eta.shuttleId, eta.stopId); const tuple = new TupleKey(eta.shuttleId, eta.stopId);
// TODO: move device IDs object (with TupleKey based string) to its own class
if (this.deviceIdsToDeliverTo[tuple.toString()] === undefined) { if (this.deviceIdsToDeliverTo[tuple.toString()] === undefined) {
return; return;
} }