Add via field to staffLDB.TrainServices.Origin/Destination fields
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
4b2e7e99b8
commit
517ecba7b6
@ -31,7 +31,7 @@
|
||||
"zlib": "^1.0.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@owlboard/ts-types": "^0.0.6",
|
||||
"@owlboard/ts-types": "^0.0.7",
|
||||
"@types/jest": "^29.5.3",
|
||||
"eslint": "^8.39.0",
|
||||
"jest": "^29.6.2",
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user