diff --git a/src/repositories/ApiBasedRepository.ts b/src/repositories/ApiBasedRepository.ts index 7a3f423..a2571f8 100644 --- a/src/repositories/ApiBasedRepository.ts +++ b/src/repositories/ApiBasedRepository.ts @@ -357,6 +357,10 @@ ${json}`); if (this.cache.stopsBySystemId) { this.cache.stopsBySystemId[systemId]?.push(constructedStop); } + + if (this.cache.stopByStopId) { + this.cache.stopByStopId[constructedStop.id] = constructedStop; + } })); } } catch (e) {