Loading lib/Travelynx/Controller/Api.pm +14 −8 Original line number Diff line number Diff line Loading @@ -571,6 +571,7 @@ sub import_v1 { my $journey; if ( not $error ) { eval { $journey = $self->journeys->get_single( uid => $uid, db => $db, Loading @@ -578,7 +579,12 @@ sub import_v1 { verbose => 1 ); $error = $self->journeys->sanity_check( $journey, $payload->{lax} ? 1 : 0 ); = $self->journeys->sanity_check( $journey, $payload->{lax} ? 1 : 0 ); }; if ($@) { $error = $@; } } if ($error) { Loading Loading
lib/Travelynx/Controller/Api.pm +14 −8 Original line number Diff line number Diff line Loading @@ -571,6 +571,7 @@ sub import_v1 { my $journey; if ( not $error ) { eval { $journey = $self->journeys->get_single( uid => $uid, db => $db, Loading @@ -578,7 +579,12 @@ sub import_v1 { verbose => 1 ); $error = $self->journeys->sanity_check( $journey, $payload->{lax} ? 1 : 0 ); = $self->journeys->sanity_check( $journey, $payload->{lax} ? 1 : 0 ); }; if ($@) { $error = $@; } } if ($error) { Loading