update stopByStopId in cache

This commit is contained in:
2025-01-08 16:50:14 -08:00
parent eef414cdb7
commit a4e359b19b

View File

@@ -357,6 +357,10 @@ ${json}`);
if (this.cache.stopsBySystemId) { if (this.cache.stopsBySystemId) {
this.cache.stopsBySystemId[systemId]?.push(constructedStop); this.cache.stopsBySystemId[systemId]?.push(constructedStop);
} }
if (this.cache.stopByStopId) {
this.cache.stopByStopId[constructedStop.id] = constructedStop;
}
})); }));
} }
} catch (e) { } catch (e) {