From eddc7b007631290b4569676d4b3e1019894858bb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 7 Sep 2020 22:41:00 +0200 Subject: tripID caching is quite mystical --- lib/DBInfoscreen/Helper/HAFAS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/DBInfoscreen') 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 ) { -- cgit v1.2.3