summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Helper
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2023-01-07 12:32:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2023-01-07 12:32:57 +0100
commit5c9adc471044bf30f128290668bf17b25d95c828 (patch)
tree079b420b8b48c078ecb0c487aa723c52fb038dd1 /lib/Travelynx/Helper
parent57a1ecbf766b41e6ba728fda17f41b7fbba5838f (diff)
Traewelling: fix 'already checked in' error for API v11.29.5
Diffstat (limited to 'lib/Travelynx/Helper')
-rw-r--r--lib/Travelynx/Helper/Traewelling.pm4
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 {