Remove call to addOrUpdateEta within the shuttle repository loader

This commit is contained in:
2025-11-10 20:15:39 -08:00
parent 4481496fda
commit e6793572bf

View File

@@ -261,9 +261,8 @@ export class ApiBasedShuttleRepositoryLoader implements ShuttleRepositoryLoader
}
private async updateEtaDataInRepository(etas: IEta[]) {
await Promise.all(etas.map(async (eta) => {
await this.repository.addOrUpdateEta(eta);
}));
// ETAs are now calculated internally by the repository based on shuttle movements
// External ETAs from the API are no longer used
}
private async fetchEtaDataJson(stopId: string) {