Add via field to staffLDB.TrainServices.Origin/Destination fields

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface
2023-08-07 10:28:21 +01:00
parent 4b2e7e99b8
commit 517ecba7b6
2 changed files with 4 additions and 1 deletions

View File

@@ -99,6 +99,9 @@ function transformLocation(input: any): ServiceLocation[] {
tiploc: item?.tiploc,
name: item?.locationName
}
if (item?.via) {
location.via = item.via
}
output.push(location)
}
return output