mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
refactor route fetching logic for single system ID to external function
This commit is contained in:
@@ -50,7 +50,7 @@ export class TimedApiBasedRepositoryLoader extends ApiBasedRepositoryLoader {
|
||||
await this.repository.clearSystemData();
|
||||
await this.fetchAndUpdateSystemData();
|
||||
await this.repository.clearRouteData();
|
||||
await this.fetchAndUpdateRouteDataForExistingSystems();
|
||||
await this.fetchAndUpdateRouteDataForExistingSystemsInRepository();
|
||||
await this.repository.clearStopData();
|
||||
await this.fetchAndUpdateStopAndPolylineDataForRoutesInExistingSystems();
|
||||
await this.repository.clearShuttleData();
|
||||
|
||||
Reference in New Issue
Block a user