fix(server/gtfs): null empty parents
This commit is contained in:
parent
0524eda5d2
commit
38bcdc54bc
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ class GtfsParser(
|
|||
id = stop_id,
|
||||
name = stop_name,
|
||||
pos = Point(stop_lat, stop_lon),
|
||||
parent = parent_station,
|
||||
parent = parent_station.ifEmpty { null },
|
||||
hasWheelChairBoarding = wheelchair_boarding == "1",
|
||||
level = level_id,
|
||||
platformCode = platform_code,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue