summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl17
1 files changed, 9 insertions, 8 deletions
diff --git a/index.pl b/index.pl
index 14c5381..ad17284 100644
--- a/index.pl
+++ b/index.pl
@@ -247,14 +247,15 @@ sub handle_request {
push(
@departures,
{
- time => $result->time,
- train => $result->train,
- via => [ $result->route_interesting(3) ],
- destination => $result->destination,
- platform => $platform,
- info => $info,
- moreinfo => $moreinfo,
- delay => $delay,
+ time => $result->time,
+ train => $result->train,
+ via => [ $result->route_interesting(3) ],
+ destination => $result->destination,
+ platform => $platform,
+ info => $info,
+ is_cancelled => $result->is_cancelled,
+ moreinfo => $moreinfo,
+ delay => $delay,
}
);
}