From 1a42cf525ed8b8459d6d1de58250b4a6266bf8fc Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 4 Jan 2025 21:22:23 +0100 Subject: Adjust coord request for id -> id_code rename --- bin/efa-m | 2 +- lib/Travel/Status/DE/EFA.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/efa-m b/bin/efa-m index 9002540..197378c 100755 --- a/bin/efa-m +++ b/bin/efa-m @@ -322,7 +322,7 @@ sub show_coord { printf( "%5.1f km %-${max_len}s %s\n", $stop->distance_m * 1e-3, - $stop->full_name, $stop->id + $stop->full_name, $stop->id_code ); } } diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 214fab1..a8a8b9d 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -559,7 +559,7 @@ sub results_coord { full_name => $stop->{properties}{STOP_NAME_WITH_PLACE}, distance_m => $stop->{properties}{distance}, name => $stop->{name}, - id => $stop->{id}, + id_code => $stop->{id}, ) ); } -- cgit v1.2.3