diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-04 21:20:18 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-01-04 21:20:18 +0100 |
commit | 712a5eeec730a51dffeed2cb335fa93e33c4f6a4 (patch) | |
tree | 64de026ce5ac9ecbacc6211683ca39a0741688d3 /lib/Travel/Status/DE/EFA | |
parent | eca26bdf4b0082a852638997534a85d30d4187f2 (diff) |
Departure: TO_JSON: compute ID
Diffstat (limited to 'lib/Travel/Status/DE/EFA')
-rw-r--r-- | lib/Travel/Status/DE/EFA/Departure.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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}; |