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