From 712a5eeec730a51dffeed2cb335fa93e33c4f6a4 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 4 Jan 2025 21:20:18 +0100 Subject: Departure: TO_JSON: compute ID --- lib/Travel/Status/DE/EFA/Departure.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Travel/Status/DE/EFA/Departure.pm b/lib/Travel/Status/DE/EFA/Departure.pm index de135af..c3d97b6 100644 --- a/lib/Travel/Status/DE/EFA/Departure.pm +++ b/lib/Travel/Status/DE/EFA/Departure.pm @@ -265,6 +265,9 @@ sub route_interesting { sub TO_JSON { my ($self) = @_; + # compute on-demand keys + $self->id; + my $ret = { %{$self} }; delete $ret->{strp_stopseq}; -- cgit v1.2.3