summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-01-11 22:33:54 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-01-11 22:33:54 +0100
commitfa21ea4bce78edbf3649d656b98d96f88b0b0aaf (patch)
tree1855ddf34c1ee70e5fcc7d521f3ecfccd119926e /lib/DBInfoscreen/Controller
parentdcdea4247b6457202ce746814ff44d249c32d8b5 (diff)
Wagonorder: refactor dbdb requests
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 2eb7b12..85a94e5 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -775,7 +775,7 @@ sub render_train {
if ( $self->param('detailed') ) {
my $cycle_req = Mojo::Promise->new;
push( @requests, $cycle_req );
- $self->wagonorder->has_umlauf_p( $result->train_no )->then(
+ $self->wagonorder->has_cycle_p( $result->train_no )->then(
sub {
$departure->{has_cycle} = 1;
}