mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
update stopByStopId in cache
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user