fix(server/gtfs): null empty parents

This commit is contained in:
Cilly Leang 2026-04-11 23:34:47 +10:00
parent 0524eda5d2
commit 38bcdc54bc
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -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,