diff --git a/lib/Travelynx/Command/maintenance.pm b/lib/Travelynx/Command/maintenance.pm index a70d42a..32a6231 100644 --- a/lib/Travelynx/Command/maintenance.pm +++ b/lib/Travelynx/Command/maintenance.pm @@ -148,7 +148,8 @@ sub run { [ 'id', 'polyline_id' ], { route => $journey->{route}, - polyline_id => { '!=', undef } + polyline_id => { '!=', undef }, + edited => 0, }, { limit => 1 } )->hash;