Api: Import: Set correct route key for add_journey
This commit is contained in:
parent
21234707fc
commit
cc25a56864
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ sub import_v1 {
|
||||||
if ( $payload->{intermediateStops}
|
if ( $payload->{intermediateStops}
|
||||||
and ref( $payload->{intermediateStops} ) eq 'ARRAY' )
|
and ref( $payload->{intermediateStops} ) eq 'ARRAY' )
|
||||||
{
|
{
|
||||||
$opt{intermediateStops}
|
$opt{route}
|
||||||
= [ map { sanitize( q{}, $_ ) }
|
= [ map { sanitize( q{}, $_ ) }
|
||||||
@{ $payload->{intermediateStops} } ];
|
@{ $payload->{intermediateStops} } ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue