summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-09-07 22:41:00 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-09-07 22:41:00 +0200
commiteddc7b007631290b4569676d4b3e1019894858bb (patch)
tree7146e03b1085d015f7ecb24195caebd1bfd5a5b6 /lib
parent33be560292ac02595f3fb386d5785d1f2b690dba (diff)
tripID caching is quite mystical
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen/Helper/HAFAS.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Helper/HAFAS.pm b/lib/DBInfoscreen/Helper/HAFAS.pm
index f7df0f7..2eda72f 100644
--- a/lib/DBInfoscreen/Helper/HAFAS.pm
+++ b/lib/DBInfoscreen/Helper/HAFAS.pm
@@ -163,7 +163,7 @@ sub trainsearch {
$opt{date_yyyy} = $now->strftime('%d.%m.%Y');
}
- my $trainsearch = $self->hafas_json_req( $self->{main_cache},
+ my $trainsearch = $self->hafas_json_req( $self->{realtime_cache},
"${base}&date=$opt{date_yy}&trainname=$opt{train_no}" );
if ( not $trainsearch ) {