summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/Travelynx/Controller/Api.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Api.pm b/lib/Travelynx/Controller/Api.pm
index 931d41b..96817fb 100755
--- a/lib/Travelynx/Controller/Api.pm
+++ b/lib/Travelynx/Controller/Api.pm
@@ -523,6 +523,7 @@ sub import_v1 {
);
}
else {
+ $self->invalidate_stats_cache( $opt{rt_departure}, $db, $uid );
$tx->commit;
$self->render(
json => {