import API: invalidate stats cache after adding a journey
This commit is contained in:
parent
ce6237b9fb
commit
1723f8c1fb
1 changed files with 1 additions and 0 deletions
|
@ -523,6 +523,7 @@ sub import_v1 {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
$self->invalidate_stats_cache( $opt{rt_departure}, $db, $uid );
|
||||||
$tx->commit;
|
$tx->commit;
|
||||||
$self->render(
|
$self->render(
|
||||||
json => {
|
json => {
|
||||||
|
|
Loading…
Reference in a new issue