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 => {