Commit cc25a568 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Api: Import: Set correct route key for add_journey

parent 21234707
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -463,7 +463,7 @@ sub import_v1 {
		if ( $payload->{intermediateStops}
			and ref( $payload->{intermediateStops} ) eq 'ARRAY' )
		{
			$opt{intermediateStops}
			$opt{route}
			  = [ map { sanitize( q{}, $_ ) }
				  @{ $payload->{intermediateStops} } ];
		}