diff --git a/src/repositories/shuttle/eta/InMemorySelfUpdatingETARepository.ts b/src/repositories/shuttle/eta/InMemorySelfUpdatingETARepository.ts index 89212ab..602e8ed 100644 --- a/src/repositories/shuttle/eta/InMemorySelfUpdatingETARepository.ts +++ b/src/repositories/shuttle/eta/InMemorySelfUpdatingETARepository.ts @@ -160,11 +160,6 @@ export class InMemorySelfUpdatingETARepository extends BaseInMemoryETARepository lastArrival, currentArrival, }: WillArriveAtStopPayload): Promise { - const etas = await this.getEtasForShuttleId(currentArrival.shuttleId); - for (const eta of etas) { - await this.removeEtaIfExists(eta.shuttleId, eta.stopId); - } - if (lastArrival) { // disallow cases where this gets triggered multiple times if (lastArrival.stopId === currentArrival.stopId) return;