mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add orientation data to api based loader
This commit is contained in:
@@ -225,7 +225,8 @@ export class ApiBasedRepositoryLoader implements RepositoryLoader {
|
|||||||
},
|
},
|
||||||
routeId: jsonBus.routeId,
|
routeId: jsonBus.routeId,
|
||||||
systemId: systemId,
|
systemId: systemId,
|
||||||
id: `${jsonBus.busId}`
|
id: `${jsonBus.busId}`,
|
||||||
|
orientationInDegrees: parseFloat(jsonBus.calculatedCourse)
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.repository.addOrUpdateShuttle(constructedShuttle);
|
await this.repository.addOrUpdateShuttle(constructedShuttle);
|
||||||
|
|||||||
Reference in New Issue
Block a user