diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-07 12:32:57 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-07 12:32:57 +0100 |
commit | 5c9adc471044bf30f128290668bf17b25d95c828 (patch) | |
tree | 079b420b8b48c078ecb0c487aa723c52fb038dd1 | |
parent | 57a1ecbf766b41e6ba728fda17f41b7fbba5838f (diff) |
Traewelling: fix 'already checked in' error for API v11.29.5
-rw-r--r-- | lib/Travelynx/Helper/Traewelling.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx/Helper/Traewelling.pm b/lib/Travelynx/Helper/Traewelling.pm index 653c627..345d642 100644 --- a/lib/Travelynx/Helper/Traewelling.pm +++ b/lib/Travelynx/Helper/Traewelling.pm @@ -373,8 +373,8 @@ sub checkin { my $j = $tx->res->json; $err_msg .= sprintf( ': Bereits in %s eingecheckt: https://traewelling.de/status/%d', - $j->{error}{lineName}, - $j->{error}{status_id} + $j->{message}{lineName}, + $j->{message}{status_id} ); } else { |