From 5c9adc471044bf30f128290668bf17b25d95c828 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 7 Jan 2023 12:32:57 +0100 Subject: Traewelling: fix 'already checked in' error for API v1 --- lib/Travelynx/Helper/Traewelling.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Travelynx') 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 { -- cgit v1.2.3