Traewelling: fix 'already checked in' error for API v1

This commit is contained in:
Daniel Friesel 2023-01-07 12:32:57 +01:00
parent 57a1ecbf76
commit 5c9adc4710
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005

View file

@ -373,8 +373,8 @@ sub checkin {
my $j = $tx->res->json; my $j = $tx->res->json;
$err_msg .= sprintf( $err_msg .= sprintf(
': Bereits in %s eingecheckt: https://traewelling.de/status/%d', ': Bereits in %s eingecheckt: https://traewelling.de/status/%d',
$j->{error}{lineName}, $j->{message}{lineName},
$j->{error}{status_id} $j->{message}{status_id}
); );
} }
else { else {