summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-01-04 21:22:23 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-01-04 21:22:23 +0100
commit1a42cf525ed8b8459d6d1de58250b4a6266bf8fc (patch)
treea76cfe6356c90a0638c61f5b39e4f8c52bf9378d
parent712a5eeec730a51dffeed2cb335fa93e33c4f6a4 (diff)
Adjust coord request for id -> id_code rename
-rwxr-xr-xbin/efa-m2
-rw-r--r--lib/Travel/Status/DE/EFA.pm2
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},
)
);
}